]> Pileus Git - ~andy/linux/commit
perf session: Check for SIGINT in more loops
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Sep 2013 19:34:28 +0000 (16:34 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 19 Sep 2013 14:32:17 +0000 (11:32 -0300)
commit33e940a25daaea71be054e8a4bdb61730cc9ebbc
treee8d2f1f31f631290eb11da1c2b5a609b09a360be
parente955d5c434009b661dbb200c601254b0c2d9940a
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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-pyad42lgrtq7xhg2dpsoauq7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c
tools/perf/builtin-report.c
tools/perf/builtin-script.c
tools/perf/util/hist.c
tools/perf/util/session.c
tools/perf/util/session.h