diff options
Diffstat (limited to 'tools/perf/builtin-report.c')
| -rw-r--r-- | tools/perf/builtin-report.c | 12 | 
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 5f1d2a878fad..3c74c9c0f3c3 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -338,7 +338,7 @@ static int process_read_event(struct perf_tool *tool,  static int report__setup_sample_type(struct report *rep)  {  	struct perf_session *session = rep->session; -	u64 sample_type = perf_evlist__combined_sample_type(session->evlist); +	u64 sample_type = evlist__combined_sample_type(session->evlist);  	bool is_pipe = perf_data__is_pipe(session->data);  	if (session->itrace_synth_opts->callchain || @@ -410,8 +410,7 @@ static int report__setup_sample_type(struct report *rep)  	}  	/* ??? handle more cases than just ANY? */ -	if (!(perf_evlist__combined_branch_type(session->evlist) & -				PERF_SAMPLE_BRANCH_ANY)) +	if (!(evlist__combined_branch_type(session->evlist) & PERF_SAMPLE_BRANCH_ANY))  		rep->nonany_branch_mode = true;  #if !defined(HAVE_LIBUNWIND_SUPPORT) && !defined(HAVE_DWARF_SUPPORT) @@ -1093,7 +1092,7 @@ static int process_attr(struct perf_tool *tool __maybe_unused,  	 * Check if we need to enable callchains based  	 * on events sample_type.  	 */ -	sample_type = perf_evlist__combined_sample_type(*pevlist); +	sample_type = evlist__combined_sample_type(*pevlist);  	callchain_param_setup(sample_type);  	return 0;  } @@ -1333,6 +1332,9 @@ int cmd_report(int argc, const char **argv)  	if (report.mmaps_mode)  		report.tasks_mode = true; +	if (dump_trace) +		report.tool.ordered_events = false; +  	if (quiet)  		perf_quiet_option(); @@ -1389,7 +1391,7 @@ repeat:  	has_br_stack = perf_header__has_feat(&session->header,  					     HEADER_BRANCH_STACK); -	if (perf_evlist__combined_sample_type(session->evlist) & PERF_SAMPLE_STACK_USER) +	if (evlist__combined_sample_type(session->evlist) & PERF_SAMPLE_STACK_USER)  		has_br_stack = false;  	setup_forced_leader(&report, session->evlist);  |