diff options
author | Jiri Olsa <[email protected]> | 2016-08-01 20:02:34 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-08-02 16:33:28 -0300 |
commit | 52c5cc363f2c5f50e88d2d340c039cc72797d69a (patch) | |
tree | a5b301c27f2103ec31ce71cfec6ba6c236ee2621 /scripts/gdb/linux/modules.py | |
parent | 4842576cd857887ddfed58f452af38b9457639d7 (diff) |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions