linux/tools/perf
Ian Rogers aaa23571fe perf top: Make perf_env locally scoped
The use of the global host perf_env variable is potentially
inconsistent within the code. Switch perf top to using a locally
scoped variable that is generally accessed through the session.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-15-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2025-07-25 10:37:57 -07:00
..
arch perf parse-events: Fix missing slots for Intel topdown metric events 2025-07-24 13:41:35 -07:00
bench perf build-id: Ensure struct build_id is empty before use 2025-07-25 10:37:55 -07:00
check-header_ignore_hunks/lib perf tools: update expected diff for lib/list_sort.c 2024-11-05 17:12:33 -08:00
dlfilters perf tools: Simplify evsel__add_modifier() 2024-10-22 09:52:11 -07:00
Documentation perf record: Make --buildid-mmap the default 2025-07-25 10:37:56 -07:00
include/perf perf dso: Move build_id to dso_id 2025-07-25 10:37:56 -07:00
jvmti perf: Fix libjvmti.c sign compare error 2025-06-09 22:12:08 -07:00
pmu-events perf metricgroups: Add NO_THRESHOLD_AND_NMI constraint 2025-07-24 13:41:36 -07:00
python perf python: Add counting.py as example for counting perf events 2025-05-22 22:24:58 -03:00
scripts perf flamegraph: Fix minor pylint/type hint issues 2025-07-16 10:43:27 -07:00
tests perf test: Avoid use perf_env 2025-07-25 10:37:57 -07:00
trace perf build: Specify shellcheck should use bash 2025-06-30 09:43:06 -07:00
ui perf evlist: Change env variable to session 2025-07-25 10:37:56 -07:00
util perf session: Add host_env argument to perf_session__new 2025-07-25 10:37:57 -07:00
.gitignore perf tools: Add the empty-pmu-events build to .gitignore 2024-11-07 10:51:56 -08:00
Build perf build: Specify shellcheck should use bash 2025-06-30 09:43:06 -07:00
builtin-annotate.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-bench.c
builtin-buildid-cache.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-buildid-list.c perf dso: Move build_id to dso_id 2025-07-25 10:37:56 -07:00
builtin-c2c.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-check.c tools: Remove libcrypto dependency 2025-06-26 10:51:41 -07:00
builtin-config.c perf config: Add a function to set one variable in .perfconfig 2025-01-14 15:05:56 -03:00
builtin-daemon.c
builtin-data.c
builtin-diff.c perf stream: Use evsel rather than evsel->idx 2024-12-23 13:53:08 -03:00
builtin-evlist.c perf evlist: Print hint for group 2024-09-11 13:08:45 -03:00
builtin-ftrace.c perf: ftrace: add graph tracer options args/retval/retval-hex/retaddr 2025-07-22 17:47:22 -07:00
builtin-help.c perf tools: Remove dependency on libaudit 2025-01-10 10:59:42 -03:00
builtin-inject.c perf session: Add host_env argument to perf_session__new 2025-07-25 10:37:57 -07:00
builtin-kallsyms.c
builtin-kmem.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-kvm.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-kwork.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-list.c perf list: Display the PMU name associated with a perf metric in JSON 2025-05-13 17:06:14 -03:00
builtin-lock.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-mem.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-probe.c perf build: Rename HAVE_DWARF_SUPPORT to HAVE_LIBDW_SUPPORT 2024-10-18 10:17:40 -07:00
builtin-record.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-report.c perf evlist: Change env variable to session 2025-07-25 10:37:56 -07:00
builtin-sched.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-script.c perf evlist: Change env variable to session 2025-07-25 10:37:56 -07:00
builtin-stat.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-timechart.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-top.c perf top: Make perf_env locally scoped 2025-07-25 10:37:57 -07:00
builtin-trace.c perf session: Add accessor for session->header.env 2025-07-25 10:37:56 -07:00
builtin-version.c perf check: Share the feature status printing routine with 'perf version' 2025-04-10 10:44:04 -03:00
builtin.h perf check: Allow showing a tip for opt-in features not built into perf 2025-04-10 10:44:42 -03:00
check-headers.sh perf tools: Remove excess variable declarations 2025-06-24 11:06:02 -07:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config tools: Remove libcrypto dependency 2025-06-26 10:51:41 -07:00
Makefile.perf perf build: Always disable stack protection for BPF skeleton objects 2025-07-20 20:49:35 -07:00
MANIFEST perf tools: Fix arm64 source package build 2025-05-13 17:26:35 -03:00
perf-archive.sh tools/perf: Add --exclude-buildids option to perf archive command 2025-06-26 15:40:19 -07:00
perf-completion.sh
perf-iostat.sh
perf-read-vdso.c
perf-sys.h
perf.c perf tools: Remove dependency on libaudit 2025-01-10 10:59:42 -03:00
perf.h perf: Increase MAX_NR_CPUS to 4096 2024-12-09 17:52:41 -03:00