lkml.org 
[lkml]   [2019]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/11] perf tools report: Implement browsing of individual samples
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

\
 
 \ /
  Last update: 2019-02-25 13:57    [W:0.876 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site