~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to proxy/signals.cc

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#include "ProxyConfig.h"
32
32
#include "P_EventSystem.h"
33
33
#include "StatSystem.h"
34
 
#include "P_Cache.h"
35
34
#include "Main.h"
36
35
 
37
 
 
38
36
// For backtraces on crash
39
37
#include "ink_stack_trace.h"
40
38
 
74
72
    NOWARN_UNUSED(e);
75
73
    if (sigusr1_received) {
76
74
      sigusr1_received = 0;
77
 
 
78
 
      xdump_to_file(stderr);
 
75
      // TODO: TS-567 Integrate with debugging allocators "dump" features?
79
76
      ink_freelists_dump(stderr);
80
77
      if (!end)
81
78
        end = (char *) sbrk(0);
127
124
    NOWARN_UNUSED(event);
128
125
    NOWARN_UNUSED(e);
129
126
    if (use_baseline) {
130
 
      xdump_to_file_baseline_rel(stderr);
 
127
      // TODO: TS-567 Integrate with debugging allocators "dump" features?
131
128
      ink_freelists_dump_baselinerel(stderr);
132
129
    } else {
133
 
      xdump_to_file(stderr);
 
130
      // TODO: TS-567 Integrate with debugging allocators "dump" features?
134
131
      ink_freelists_dump(stderr);
135
132
    }
136
133
    if (!baseline_taken && use_baseline) {
137
134
      ink_freelists_snap_baseline();
138
 
      xdump_snap_baseline();
 
135
      // TODO: TS-567 Integrate with debugging allocators "dump" features?
139
136
      baseline_taken = 1;
140
137
    }
141
138
    return EVENT_CONT;