aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-report.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 271e252dc651..5d43d0181d63 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -525,7 +525,14 @@ int cmd_report(int argc, const char **argv, const char *prefix __used)
525 if (parent_pattern != default_parent_pattern) { 525 if (parent_pattern != default_parent_pattern) {
526 if (sort_dimension__add("parent") < 0) 526 if (sort_dimension__add("parent") < 0)
527 return -1; 527 return -1;
528 sort_parent.elide = 1; 528
529 /*
530 * Only show the parent fields if we explicitly
531 * sort that way. If we only use parent machinery
532 * for filtering, we don't want it.
533 */
534 if (!strstr(sort_order, "parent"))
535 sort_parent.elide = 1;
529 } else 536 } else
530 symbol_conf.exclude_other = false; 537 symbol_conf.exclude_other = false;
531 538