Merge tag 'asoc-v4.7' into asoc-linus
[deliverable/linux.git] / tools / perf / util / sort.c
index 93fa136b0025c02e1e4383be523fcf37c092f36e..f5ba111cd9fb2a00757a36af8d706a3f4380c92e 100644 (file)
@@ -2225,7 +2225,7 @@ int hpp_dimension__add_output(unsigned col)
 }
 
 static int sort_dimension__add(struct perf_hpp_list *list, const char *tok,
-                              struct perf_evlist *evlist __maybe_unused,
+                              struct perf_evlist *evlist,
                               int level)
 {
        unsigned int i;
@@ -2445,6 +2445,9 @@ static char *prefix_if_not_in(const char *pre, char *str)
 
 static char *setup_overhead(char *keys)
 {
+       if (sort__mode == SORT_MODE__DIFF)
+               return keys;
+
        keys = prefix_if_not_in("overhead", keys);
 
        if (symbol_conf.cumulate_callchain)
This page took 0.027715 seconds and 5 git commands to generate.