diff options
author | Feng Tang <feng.tang@intel.com> | 2012-11-01 00:00:55 +0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-31 16:14:19 -0200 |
commit | c77d8d7030128e61e206658815b96a6befed9d06 (patch) | |
tree | b30ae321060abc134d7a85ec21523a544f569d5a /mm/cleancache.c | |
parent | dc53eda5a025f3e7503219477a8aefb8842ed74b (diff) | |
download | op-kernel-dev-c77d8d7030128e61e206658815b96a6befed9d06.zip op-kernel-dev-c77d8d7030128e61e206658815b96a6befed9d06.tar.gz |
perf browser: Don't show scripts menu for 'perf top'
As 'perf top' has no data files to run scripts against. Also add a
is_report_browser() helper function to judge whether the running browser
is for 'perf report'.
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/1351699257-5102-1-git-send-email-feng.tang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'mm/cleancache.c')
0 files changed, 0 insertions, 0 deletions