]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf jevents: Move json encoding to its own functions
authorIan Rogers <irogers@google.com>
Tue, 2 Dec 2025 17:50:05 +0000 (09:50 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 3 Dec 2025 00:12:50 +0000 (16:12 -0800)
commit3f31651a06f3e42cd96b04e9e822e662a9517583
treed19dac70e010a119002ca13a03279cd7929f1283
parentb90e94aed9080a2cfb0142e99ca4eba3e341c45e
perf jevents: Move json encoding to its own functions

Have dedicated encode functions rather than having them embedded in
MetricGroup. This is to provide some uniformity in the Metric ToXXX
routines.

Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Falcon <thomas.falcon@intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/pmu-events/metric.py