]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Add output_resort_cb method
authorJiri Olsa <jolsa@kernel.org>
Mon, 4 Feb 2019 14:18:07 +0000 (15:18 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Feb 2019 13:00:40 +0000 (10:00 -0300)
commitebf0be8b9713540ed7289cf3dd4e94104ace4c55
tree8c24ba08a95af768e2845695809d157560437985
parent72b9277798a37250c90e2852d8acb165aca2d7a0
perf evsel: Add output_resort_cb method

Add perf_evsel__output_resort_cb() so we have an interface with a
callback for each hist entry. It will be used in the following patch.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20190204141808.23031-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c
tools/perf/util/hist.h