diff options
| author | Jiri Olsa <[email protected]> | 2016-08-01 18:02:34 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-08-02 19:33:28 +0000 |
| commit | 52c5cc363f2c5f50e88d2d340c039cc72797d69a (patch) | |
| tree | a5b301c27f2103ec31ce71cfec6ba6c236ee2621 /tools/perf/builtin-script.c | |
| parent | perf tools: Move config/Makefile into Makefile.config (diff) | |
| download | kernel-52c5cc363f2c5f50e88d2d340c039cc72797d69a.tar.gz kernel-52c5cc363f2c5f50e88d2d340c039cc72797d69a.zip | |
perf hists: Introduce output_resort_cb method
When dealing with nested hist entries it's helpful to have a way to
resort those nested objects.
Adding optional callback call into output_resort function and following
new interface function:
typedef int (*hists__resort_cb_t)(struct hist_entry *he);
void hists__output_resort_cb(struct hists *hists,
struct ui_progress *prog,
hists__resort_cb_t cb);
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions
