linux_dsm_epyc7002/tools/perf/ui
Feng Tang c77d8d7030 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>
2012-10-31 16:14:19 -02:00
..
browsers perf browser: Don't show scripts menu for 'perf top' 2012-10-31 16:14:19 -02:00
gtk perf hists: Introduce struct he_stat 2012-10-04 13:34:22 -03:00
stdio perf diff: Add -F option to display formula for computation 2012-10-05 14:13:36 -03:00
tui perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
browser.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
browser.h perf annotate browser: Read perf config file for settings 2012-05-29 22:06:30 -03:00
helpline.c perf tools: Use __maybe_used for unused variables 2012-09-11 12:19:15 -03:00
helpline.h perf tools: Convert to GTK2_SUPPORT 2012-10-02 18:36:23 -03:00
hist.c perf diff: Display empty space for non paired samples 2012-10-05 14:15:19 -03:00
keysyms.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
libslang.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
progress.c perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
progress.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
setup.c perf tool: Add hpp interface to enable/disable hpp column 2012-10-04 13:30:27 -03:00
ui.h perf tools: Move UI bits to tools/perf/ui directory 2012-04-11 17:16:40 -03:00
util.c perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00
util.h perf ui: Introduce struct perf_error_ops 2012-06-19 13:06:18 -03:00