summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-08-01 20:02:34 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-08-02 16:33:28 -0300
commit52c5cc363f2c5f50e88d2d340c039cc72797d69a (patch)
treea5b301c27f2103ec31ce71cfec6ba6c236ee2621 /tools/perf/perf.h
parent4842576cd857887ddfed58f452af38b9457639d7 (diff)
downloadlinux-52c5cc363f2c5f50e88d2d340c039cc72797d69a.tar.bz2
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 <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1470074555-24889-7-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.h')
0 files changed, 0 insertions, 0 deletions