diff options
| author | Jiebin Sun <jiebin.sun@intel.com> | 2026-08-17 17:46:17 +0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-08-17 16:04:05 -0700 |
| commit | 1b4eb7a2ddcde2eb97e8debeaf2d8a70fe6170aa (patch) | |
| tree | 1be1bc8efd10f65b566f34495eac07e4645e8246 /scripts/objdiff | |
| parent | e9ffc77f3ff34b69ebf695107b051ccf0ae38699 (diff) | |
| download | linux-1b4eb7a2ddcde2eb97e8debeaf2d8a70fe6170aa.tar.gz linux-1b4eb7a2ddcde2eb97e8debeaf2d8a70fe6170aa.zip | |
perf c2c: add column rendering for function view
Add renderers for the function view's Cycles %, Store count, and
hierarchy identity columns. The identity column renders the read-side
function, contending writer, or cacheline, with indentation for the
hierarchy level. Also add width and header helpers, estimated-cycle
calculation, comparators, and the dimension table that ties them together.
Clamp the identity renderer's returned length to its local buffer before
using it for pointer and padding calculations. This handles snprintf-style
would-have-been lengths without changing normal output.
The next patch connects these dimensions to the view's HPP lists, so the
symbols used only there are temporarily marked __maybe_unused.
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
