mirror of
https://github.com/torvalds/linux.git
synced 2026-08-04 22:38:46 +02:00
The recent --per-cache option test caused a problem. According to the
option name, I think it should check args.per_cache instead of
args.per_cache_instance.
$ sudo ./perf test -v 99
99: perf stat JSON output linter :
--- start ---
test child forked, pid 3086101
Checking json output: no args [Success]
Checking json output: system wide [Success]
Checking json output: interval [Success]
Checking json output: event [Success]
Checking json output: per thread [Success]
Checking json output: per node [Success]
Checking json output: system wide no aggregation [Success]
Checking json output: per core [Success]
Checking json output: per cache_instance Test failed for input:
...
Traceback (most recent call last):
File "linux/tools/perf/tests/shell/lib/perf_json_output_lint.py", line 88, in <module>
elif args.per_core or args.per_socket or args.per_node or args.per_die or args.per_cache_instance:
AttributeError: 'Namespace' object has no attribute 'per_cache_instance'
test child finished with -1
---- end ----
perf stat JSON output linter: FAILED!
Fixes:
|
||
|---|---|---|
| .. | ||
| coresight | ||
| lib | ||
| buildid.sh | ||
| daemon.sh | ||
| lock_contention.sh | ||
| pipe_test.sh | ||
| probe_vfs_getname.sh | ||
| record_offcpu.sh | ||
| record.sh | ||
| record+probe_libc_inet_pton.sh | ||
| record+script_probe_vfs_getname.sh | ||
| record+zstd_comp_decomp.sh | ||
| stat_all_metricgroups.sh | ||
| stat_all_metrics.sh | ||
| stat_all_pmu.sh | ||
| stat_bpf_counters_cgrp.sh | ||
| stat_bpf_counters.sh | ||
| stat.sh | ||
| stat+csv_output.sh | ||
| stat+csv_summary.sh | ||
| stat+json_output.sh | ||
| stat+shadow_stat.sh | ||
| test_arm_callgraph_fp.sh | ||
| test_arm_coresight.sh | ||
| test_arm_spe_fork.sh | ||
| test_arm_spe.sh | ||
| test_brstack.sh | ||
| test_data_symbol.sh | ||
| test_intel_pt.sh | ||
| test_java_symbol.sh | ||
| test_perf_data_converter_json.sh | ||
| test_task_analyzer.sh | ||
| trace+probe_vfs_getname.sh | ||