linux/tools/perf
Ian Rogers 2c240484cf perf test stat+json: Improve metric-only testing
When testing metric-only, pass a metric to perf rather than expecting
a hard coded metric value to be generated.

Remove keys that were really metric-only units and instead don't
expect metric only to have a matching json key as it encodes metrics
as {"metric_name", "metric_value"}.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-11-11 16:48:35 -08:00
..
arch perf annotate: Invalidate register states for untracked instructions 2025-10-21 06:02:49 -07:00
bench - Simplify inline asm flag output operands now that the minimum compiler 2025-10-11 10:51:14 -07:00
check-header_ignore_hunks/lib
dlfilters
Documentation perf c2c: Add annotation support to perf c2c report 2025-10-19 12:49:59 +09:00
include/perf
jvmti
pmu-events perf stat: Add detail -d,-dd,-ddd metrics 2025-11-11 16:48:35 -08:00
python perf ilist: Add PMU information to metrics 2025-10-19 11:59:44 +09:00
scripts perf build: Disable thread safety analysis for perl header 2025-10-06 16:49:25 -03:00
tests perf test stat+json: Improve metric-only testing 2025-11-11 16:48:35 -08:00
trace tools headers: Sync uapi/linux/vhost.h with the kernel source 2025-08-18 13:49:26 -07:00
ui perf annotate: Fix Clang build by adding block in switch case 2025-10-23 14:28:58 -07:00
util perf stat: Remove "unit" workarounds for metric-only 2025-11-11 16:48:35 -08:00
.gitignore
Build
builtin-annotate.c perf tool: Add the perf_tool argument to all callbacks 2025-11-07 13:25:05 -08:00
builtin-bench.c perf bench mem: Add mmap() workloads 2025-09-19 12:43:59 -03:00
builtin-buildid-cache.c perf symbol: Add blocking argument to filename__read_build_id 2025-08-25 15:07:18 -07:00
builtin-buildid-list.c
builtin-c2c.c perf c2c annotate: Start from the contention line 2025-10-19 12:50:07 +09:00
builtin-check.c perf check: Add libLLVM feature 2025-10-06 15:24:13 -03:00
builtin-config.c
builtin-daemon.c
builtin-data.c
builtin-diff.c
builtin-evlist.c perf tool: Add the perf_tool argument to all callbacks 2025-11-07 13:25:05 -08:00
builtin-ftrace.c
builtin-help.c
builtin-inject.c perf tool: Add the perf_tool argument to all callbacks 2025-11-07 13:25:05 -08:00
builtin-kallsyms.c
builtin-kmem.c
builtin-kvm.c perf tools kvm: Use "cycles" to sample guest for "kvm top" on Intel 2025-10-02 15:31:55 -03:00
builtin-kwork.c perf tools kwork: Add missed memory allocation check and free 2025-10-02 15:30:30 -03:00
builtin-list.c perf print-events: Remove print_symbol_events 2025-10-15 23:59:11 +09:00
builtin-lock.c perf lock: Provide a host_env for session new 2025-09-12 17:53:03 -07:00
builtin-mem.c
builtin-probe.c
builtin-record.c perf record: Make sure to update build-ID cache 2025-11-06 17:29:16 -08:00
builtin-report.c perf tool: Add the perf_tool argument to all callbacks 2025-11-07 13:25:05 -08:00
builtin-sched.c perf sched: Avoid union type punning undefined behavior 2025-10-01 11:22:04 -03:00
builtin-script.c perf stat: Remove hard coded shadow metrics 2025-11-11 16:48:35 -08:00
builtin-stat.c perf stat: Sort default events/metrics 2025-11-11 16:48:35 -08:00
builtin-timechart.c
builtin-top.c perf top: Use evlist__new_default when no events specified 2025-10-15 23:59:11 +09:00
builtin-trace.c perf trace: Don't synthesize mmaps unless callchains are enabled 2025-10-19 11:32:30 +09:00
builtin-version.c
builtin.h
check-headers.sh tools include: Add headers to make tools builds more hermetic 2025-10-02 15:13:19 -03:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config perf build: Support build with clang 2025-10-06 16:49:25 -03:00
Makefile.perf perf jevents: Support copying the source json files to OUTPUT 2025-10-15 23:59:10 +09:00
MANIFEST
perf-archive.sh
perf-completion.sh
perf-iostat.sh
perf-read-vdso.c
perf-sys.h
perf.c
perf.h perf: Completely remove possibility to override MAX_NR_CPUS 2025-09-12 10:52:22 -03:00