diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2013-09-17 19:34:28 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-09-19 14:32:17 +0000 |
| commit | 33e940a25daaea71be054e8a4bdb61730cc9ebbc (patch) | |
| tree | e8d2f1f31f631290eb11da1c2b5a609b09a360be /tools/perf/builtin-script.c | |
| parent | perf tools: Fix compile with libelf without get_phdrnum (diff) | |
| download | kernel-33e940a25daaea71be054e8a4bdb61730cc9ebbc.tar.gz kernel-33e940a25daaea71be054e8a4bdb61730cc9ebbc.zip | |
perf session: Check for SIGINT in more loops
When processing big files we were not checking if session_done was set
by the SIGINT signal handler, for instance in 'perf report'. Fix it.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
| -rw-r--r-- | tools/perf/builtin-script.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 7f31a3ded1b6..9c333ff3dfeb 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -553,8 +553,6 @@ static struct perf_tool perf_script = { .ordering_requires_timestamps = true, }; -extern volatile int session_done; - static void sig_handler(int sig __maybe_unused) { session_done = 1; |
