summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorJiebin Sun <jiebin.sun@intel.com>2026-08-17 17:46:15 +0800
committerNamhyung Kim <namhyung@kernel.org>2026-08-17 15:07:08 -0700
commit734150717a7bec55d0e4d5a23e5433ed67849e19 (patch)
tree05b635f3d0a735cd9ca90e75c17dfa8ba6cba83d /scripts/objdiff
parent6ae6fb96ccd48032b00a38d5f8e0e0a2cce4972b (diff)
downloadlinux-734150717a7bec55d0e4d5a23e5433ed67849e19.tar.gz
linux-734150717a7bec55d0e4d5a23e5433ed67849e19.zip
perf c2c: extract shared data structures into util/c2c.h
The function browser belongs in libperf-ui.a, but that archive is also linked into python/perf.so, where builtin command objects are unavailable. The browser therefore cannot depend on types or callbacks owned by builtin-c2c.c. Move c2c_hists, compute_stats, c2c_hist_entry, and the shared column formatting definitions from builtin-c2c.c to a new util/c2c.h. Move c2c_fmt_free() and c2c_fmt_equal() to a new util/c2c.c. Keep struct perf_c2c, the command instance, and perf_c2c__browse_cacheline() private to builtin-c2c.c. No functional change. Signed-off-by: Jiebin Sun <jiebin.sun@intel.com> Reviewed-by: Tianyou Li <tianyou.li@intel.com> Reviewed-by: Wangyang Guo <wangyang.guo@intel.com> Reviewed-by: Ian Rogers <irogers@google.com> Cc: Dapeng Mi <dapeng1.mi@linux.intel.com> Cc: James Clark <james.clark@linaro.org> Cc: Thomas Falcon <thomas.falcon@intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions