]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace: Check control+C more often
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Sep 2013 14:55:07 +0000 (11:55 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 5 Sep 2013 19:17:25 +0000 (16:17 -0300)
commit5e64bd1838782d951eafcea0ffa9e14c9df277c1
tree6c95872e07005d0937949b854c388df5e5af4a26
parent11c894665035ad2f27115c4c8126fa6209e6919c
perf trace: Check control+C more often

We were checking for it only after processing all events in the buffer,
delaying processing the termination request for long periods.

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-9jdbu937curvb35cfzbyss4g@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c