Re: [PATCH 11/11] perf tools report: Implement browsing of individual samples
From: Jiri Olsa
Date: Mon Feb 25 2019 - 07:56:34 EST
On Sun, Feb 24, 2019 at 07:37:22AM -0800, Andi Kleen wrote:
SNIP
> static int
> do_switch_data(struct hist_browser *browser __maybe_unused,
> struct popup_action *act __maybe_unused)
> @@ -3115,6 +3150,18 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
> }
> nr_options += add_script_opt(browser, &actions[nr_options],
> &options[nr_options], NULL, NULL, evsel);
> + nr_options += add_res_sample_opt(browser, &actions[nr_options],
> + &options[nr_options],
> + hist_browser__selected_entry(browser)->res_samples,
> + evsel, A_NORMAL);
> + nr_options += add_res_sample_opt(browser, &actions[nr_options],
> + &options[nr_options],
> + hist_browser__selected_entry(browser)->res_samples,
> + evsel, A_ASM);
> + nr_options += add_res_sample_opt(browser, &actions[nr_options],
> + &options[nr_options],
> + hist_browser__selected_entry(browser)->res_samples,
> + evsel, A_SOURCE);
> nr_options += add_switch_opt(browser, &actions[nr_options],
> &options[nr_options]);
for some reason can't see those items in menu
jirka