diff options
| author | Feng Tang <[email protected]> | 2012-11-01 00:00:55 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-10-31 16:14:19 -0200 |
| commit | c77d8d7030128e61e206658815b96a6befed9d06 (patch) | |
| tree | b30ae321060abc134d7a85ec21523a544f569d5a /tools/perf/scripts/python | |
| parent | dc53eda5a025f3e7503219477a8aefb8842ed74b (diff) | |
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 <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions