]> asedeno.scripts.mit.edu Git - linux.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)
commit5749618764c2dbbb0091035d84dd763529afe4e6
tree8c24ba08a95af768e2845695809d157560437985
parente4c38fd4a0f594d8ce0313db028af98b36edc8b3
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