projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b97511c
)
perf diff: Use perf_hpp__register_sort_field interface
author
Jiri Olsa
<
[email protected]
>
Thu, 7 Jan 2016 09:14:09 +0000
(10:14 +0100)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Fri, 8 Jan 2016 15:59:30 +0000
(12:59 -0300)
Using perf_hpp__register_sort_field interface instead of directly adding
the entry.
Signed-off-by: Jiri Olsa <
[email protected]
>
Acked-by: Namhyung Kim <
[email protected]
>
Cc: Adrian Hunter <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Noel Grandin <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-diff.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-diff.c
b/tools/perf/builtin-diff.c
index 87063835d74121e28a314d2bda855d4fac7724fe..36ccc2b8827fdd239b657e79b396ae013c318462 100644
(file)
--- a/
tools/perf/builtin-diff.c
+++ b/
tools/perf/builtin-diff.c
@@
-1207,7
+1207,7
@@
static int ui_init(void)
BUG_ON(1);
}
-
list_add(&fmt->sort_list, &perf_hpp__sort_lis
t);
+
perf_hpp__register_sort_field(fm
t);
return 0;
}