]> git.baikalelectronics.ru Git - kernel.git/commit
perf report: Enable the runtime switching of perf data file
authorFeng Tang <feng.tang@intel.com>
Sun, 3 Feb 2013 06:38:21 +0000 (14:38 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2013 21:09:25 +0000 (18:09 -0300)
commit6f3f621696b3a33c7fa76fff93cf31ea2fc57739
tree45d47634deedd22082fdb4c96a35c6e1bb4dfe24
parent6e5a0710dae218bd42a0fc4837c22295132fea28
perf report: Enable the runtime switching of perf data file

This is for tui browser only. This patch will check the returned key of
tui hists browser, if it's K_SWITH_INPUT_DATA, then recreate a session
for the new selected data file.

V2: Move the setup_brower() before the "repeat" jump point.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1359873501-24541-2-git-send-email-feng.tang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c