Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 021162cf authored by Namhyung Kim's avatar Namhyung Kim Committed by Arnaldo Carvalho de Melo
Browse files

perf report: Do not restrict -T option by other options



It seems there's no reason to suppress per-thread event stat by -T
option when -s or -p option is used.  Make it work with those options.

Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1431351879-23798-1-git-send-email-namhyung@kernel.org


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 189c466f
Loading
Loading
Loading
Loading
+6 −7
Original line number Diff line number Diff line
@@ -333,7 +333,7 @@ static int perf_evlist__tty_browse_hists(struct perf_evlist *evlist,
	}

	if (sort_order == NULL &&
	    parent_pattern == default_parent_pattern) {
	    parent_pattern == default_parent_pattern)
		fprintf(stdout, "#\n# (%s)\n#\n", help);

	if (rep->show_threads) {
@@ -342,7 +342,6 @@ static int perf_evlist__tty_browse_hists(struct perf_evlist *evlist,
					 style);
		perf_read_values_destroy(&rep->show_threads_values);
	}
	}

	return 0;
}