diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-12-15 20:28:14 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-12-21 18:52:40 +0100 |
commit | cb6e92c764272ca288398ad6442bbb0f064c2da8 (patch) | |
tree | ed5c74dfdde54c49e025b0cbf341cdd5ecf91546 /security | |
parent | perf srcline: Conditionally suppress addr2line warnings (diff) | |
download | linux-cb6e92c764272ca288398ad6442bbb0f064c2da8.tar.xz linux-cb6e92c764272ca288398ad6442bbb0f064c2da8.zip |
perf hist: Add perf_hpp_fmt->init() callback
In __hists__insert_output_entry(), it calls fmt->sort() for dynamic
entries with NULL to update column width for tracepoint fields.
But it's a hacky abuse of the sort callback, better to have a proper
callback for that. I'll add more use cases later.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221215192817.2734573-7-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions