linux/tools/perf/util
Arnaldo Carvalho de Melo 4f1b067359 Revert "perf parse-events: Prefer sysfs/JSON hardware events over legacy"
This reverts commit 617824a7f0.

This made a simple 'perf record -e cycles:pp make -j199' stop working on
the Ampere ARM64 system Linus uses to test ARM64 kernels, as discussed
at length in the threads in the Link tags below.

The fix provided by Ian wasn't acceptable and work to fix this will take
time we don't have at this point, so lets revert this and work on it on
the next devel cycle.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Bhaskar Chowdhury <unixbhaskar@gmail.com>
Cc: Ethan Adams <j.ethan.adams@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Tycho Andersen <tycho@tycho.pizza>
Cc: Yang Jihong <yangjihong@bytedance.com>
Link: https://lore.kernel.org/lkml/CAHk-=wi5Ri=yR2jBVk-4HzTzpoAWOgstr1LEvg_-OXtJvXXJOA@mail.gmail.com
Link: https://lore.kernel.org/lkml/CAHk-=wiWvtFyedDNpoV7a8Fq_FpbB+F5KmWK2xPY3QoYseOf_A@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2024-05-26 08:41:34 -03:00
..
arm-spe-decoder
bpf_skel
cs-etm-decoder
hisi-ptt-decoder
include
intel-pt-decoder perf intel-pt: Fix unassigned instruction op (discovered by MemorySanitizer) 2024-04-26 22:13:10 -03:00
libunwind
perf-regs-arch
scripting-engines perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
Build perf mem-info: Move mem-info out of mem-events and symbol 2024-05-07 18:06:44 -03:00
PERF-VERSION-GEN
addr_location.c
addr_location.h
affinity.c
affinity.h
amd-sample-raw.c
annotate-data.c perf annotate-data: Ensure the number of type histograms 2024-05-11 13:03:13 -03:00
annotate-data.h
annotate.c perf annotate: Fix segfault on sample histogram 2024-05-11 13:03:13 -03:00
annotate.h
archinsn.h
arm-spe.c
arm-spe.h
arm64-frame-pointer-unwind-support.c
arm64-frame-pointer-unwind-support.h
auxtrace.c perf auxtrace: Allow number of queues to be specified 2024-05-07 12:44:02 -03:00
auxtrace.h perf auxtrace: Allow number of queues to be specified 2024-05-07 12:44:02 -03:00
block-info.c perf block-info: Remove unused refcount 2024-05-07 18:06:44 -03:00
block-info.h perf block-info: Remove unused refcount 2024-05-07 18:06:44 -03:00
block-range.c
block-range.h
bpf-event.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
bpf-event.h
bpf-filter.c
bpf-filter.h
bpf-filter.l
bpf-filter.y
bpf-prologue.h
bpf-utils.c
bpf-utils.h
bpf_counter.c
bpf_counter.h
bpf_counter_cgroup.c perf tools: Ignore deleted cgroups 2024-05-10 10:52:46 -03:00
bpf_ftrace.c
bpf_kwork.c
bpf_kwork_top.c
bpf_lock_contention.c
bpf_map.c
bpf_map.h
bpf_off_cpu.c
branch.c
branch.h
build-id.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
build-id.h
cache.h
cacheline.c
cacheline.h
call-path.c
call-path.h
callchain.c perf callchain: Use zfree() to avoid possibly accessing dangling pointers 2024-05-07 12:44:02 -03:00
callchain.h
cap.c
cap.h
cgroup.c perf tools: Ignore deleted cgroups 2024-05-10 10:52:46 -03:00
cgroup.h
clockid.c
clockid.h
cloexec.c
cloexec.h
color.c
color.h
color_config.c
comm.c perf comm: Fix comm_str__put() for reference count checking 2024-05-09 18:13:22 -03:00
comm.h
compress.h
config.c
config.h
copyfile.c
copyfile.h
counts.c
counts.h
cpu-set-sched.h
cpumap.c perf cpumap: Remove refcnt from 'struct cpu_aggr_map' 2024-05-07 18:06:44 -03:00
cpumap.h perf cpumap: Remove refcnt from 'struct cpu_aggr_map' 2024-05-07 18:06:44 -03:00
cputopo.c
cputopo.h
cs-etm-base.c
cs-etm.c perf cs-etm: Print error for new PERF_RECORD_AUX_OUTPUT_HW_ID versions 2024-05-07 12:44:02 -03:00
cs-etm.h
data-convert-bt.c
data-convert-json.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
data-convert.h
data.c
data.h
db-export.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
db-export.h
debug.c
debug.h
debuginfo.c
debuginfo.h
demangle-cxx.cpp
demangle-cxx.h
demangle-java.c
demangle-java.h
demangle-ocaml.c
demangle-ocaml.h
demangle-rust.c
demangle-rust.h
disasm.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
disasm.h
dlfilter.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
dlfilter.h
dso.c perf dso: Use container_of() to avoid a pointer in 'struct dso_data' 2024-05-06 16:08:31 -03:00
dso.h perf dso: Use container_of() to avoid a pointer in 'struct dso_data' 2024-05-06 16:08:31 -03:00
dsos.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
dsos.h perf dsos: Remove __dsos__findnew_link_by_longname_id() 2024-05-06 09:33:37 -03:00
dump-insn.c
dump-insn.h
dwarf-aux.c perf dwarf-aux: Fix build with HAVE_DWARF_CFI_SUPPORT 2024-05-09 18:19:27 -03:00
dwarf-aux.h perf dwarf-aux: Add die_collect_global_vars() 2024-05-02 10:45:30 -03:00
dwarf-regs.c
env.c
env.h
event.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
event.h
events_stats.h
evlist.c perf parse-events: Add new 'fake_tp' parameter for tests 2024-05-10 10:49:26 -03:00
evlist.h
evsel.c perf parse-events: Add new 'fake_tp' parameter for tests 2024-05-10 10:49:26 -03:00
evsel.h perf parse-events: Add new 'fake_tp' parameter for tests 2024-05-10 10:49:26 -03:00
evsel_config.h
evsel_fprintf.c
evsel_fprintf.h
evswitch.c
evswitch.h
expr.c
expr.h
expr.l
expr.y
find-map.c
fncache.c
fncache.h
ftrace.h
genelf.c
genelf.h
genelf_debug.c
generate-cmdlist.sh
get_current_dir_name.c
get_current_dir_name.h
hashmap.c
hashmap.h
header.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
header.h
help-unknown-cmd.c
help-unknown-cmd.h
hisi-ptt.c
hisi-ptt.h
hist.c perf hist: Avoid 'struct hist_entry_iter' mem_info memory leak 2024-05-07 18:06:44 -03:00
hist.h perf hist: Avoid 'struct hist_entry_iter' mem_info memory leak 2024-05-07 18:06:44 -03:00
intel-bts.c
intel-bts.h
intel-pt.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
intel-pt.h
intlist.c
intlist.h
iostat.c
iostat.h
jit.h
jitdump.c
jitdump.h
kvm-stat.h
kwork.h
levenshtein.c
levenshtein.h
lock-contention.h
lzma.c
machine.c perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
machine.h
map.c perf map: Add missing dso__put() in map__new() 2024-05-06 15:36:51 -03:00
map.h
map_symbol.c
map_symbol.h
maps.c perf maps: Re-use __maps__free_maps_by_name() 2024-05-09 18:48:19 -03:00
maps.h
mem-events.c perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
mem-events.h perf mem-info: Move mem-info out of mem-events and symbol 2024-05-07 18:06:44 -03:00
mem-info.c perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
mem-info.h perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
mem2node.c
mem2node.h
memswap.c
memswap.h
metricgroup.c perf parse-events: Add new 'fake_tp' parameter for tests 2024-05-10 10:49:26 -03:00
metricgroup.h
mmap.c
mmap.h
mutex.c
mutex.h
namespaces.c
namespaces.h
off_cpu.h
ordered-events.c
ordered-events.h
parse-branch-options.c
parse-branch-options.h
parse-events.c Revert "perf parse-events: Prefer sysfs/JSON hardware events over legacy" 2024-05-26 08:41:34 -03:00
parse-events.h Revert "perf parse-events: Prefer sysfs/JSON hardware events over legacy" 2024-05-26 08:41:34 -03:00
parse-events.l Revert "perf parse-events: Prefer sysfs/JSON hardware events over legacy" 2024-05-26 08:41:34 -03:00
parse-events.y Revert "perf parse-events: Prefer sysfs/JSON hardware events over legacy" 2024-05-26 08:41:34 -03:00
parse-regs-options.c
parse-regs-options.h
parse-sublevel-options.c
parse-sublevel-options.h
path.c
path.h
perf-hooks-list.h
perf-hooks.c
perf-hooks.h
perf_api_probe.c
perf_api_probe.h
perf_event_attr_fprintf.c
perf_regs.c
perf_regs.h
pfm.c
pfm.h
pmu.c perf pmu: Count sys and cpuid JSON events separately 2024-05-11 13:03:13 -03:00
pmu.h perf pmu: Count sys and cpuid JSON events separately 2024-05-11 13:03:13 -03:00
pmu.l
pmu.y
pmus.c perf test pmu: Refactor format test and exposed test APIs 2024-05-03 17:08:20 -03:00
pmus.h perf test pmu: Refactor format test and exposed test APIs 2024-05-03 17:08:20 -03:00
print-events.c
print-events.h
print_binary.c
print_binary.h
print_insn.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
print_insn.h
probe-event.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
probe-event.h
probe-file.c
probe-file.h
probe-finder.c
probe-finder.h
pstack.c
pstack.h
python-ext-sources
python.c
rb_resort.h
rblist.c
rblist.h
record.c
record.h
rlimit.c
rlimit.h
rwsem.c
rwsem.h
s390-cpumcf-kernel.h
s390-cpumsf-kernel.h
s390-cpumsf.c
s390-cpumsf.h
s390-sample-raw.c
sample-raw.c
sample-raw.h
sample.h
session.c
session.h
setns.c
setup.py
sharded_mutex.c
sharded_mutex.h
sideband_evlist.c
smt.c
smt.h
sort.c perf mem-info: Add reference count checking 2024-05-07 18:06:44 -03:00
sort.h
spark.c
spark.h
srccode.c
srccode.h
srcline.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
srcline.h
stat-display.c perf stat: Don't display metric header for non-leader uncore events 2024-05-11 13:03:13 -03:00
stat-shadow.c
stat.c
stat.h
strbuf.c
strbuf.h
stream.c
stream.h
strfilter.c
strfilter.h
string.c
string2.h
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol-elf.c perf symbol-elf: dso__load_sym_internal() reference count fixes 2024-05-06 16:07:30 -03:00
symbol-minimal.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
symbol.c perf symbols: Fix ownership of string in dso__load_vmlinux() 2024-05-09 18:48:46 -03:00
symbol.h perf mem-info: Move mem-info out of mem-events and symbol 2024-05-07 18:06:44 -03:00
symbol_conf.h
symbol_fprintf.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
symsrc.h
synthetic-events.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
synthetic-events.h
syscalltbl.c
syscalltbl.h
target.c
target.h
term.c
term.h
thread-stack.c
thread-stack.h
thread.c perf thread: Fixes to thread__new() related to initializing comm 2024-05-09 18:15:25 -03:00
thread.h
thread_map.c
thread_map.h
threads.c
threads.h
time-utils.c
time-utils.h
tool.h
top.c
top.h
topdown.c
topdown.h
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c
trace-event.c
trace-event.h
tracepoint.c perf tracepoint: Don't scan all tracepoints to test if one exists 2024-05-09 18:46:43 -03:00
tracepoint.h perf tracepoint: Don't scan all tracepoints to test if one exists 2024-05-09 18:46:43 -03:00
trigger.h
tsc.c
tsc.h
units.c
units.h
unwind-libdw.c
unwind-libdw.h
unwind-libunwind-local.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
unwind-libunwind.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
unwind.h
usage.c
util.c
util.h
values.c
values.h
vdso.c perf dso: Add reference count checking and accessor functions 2024-05-06 15:28:49 -03:00
vdso.h
zlib.c
zstd.c