diff options
author | Ian Rogers <irogers@google.com> | 2025-07-24 09:32:54 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-25 10:37:57 -0700 |
commit | aaa23571fe4bb7fb7549ad09dd56de5ca1bd289d (patch) | |
tree | 0dae152794caa13562d4b5b8edc7995fd6ca8ad6 /rust/helpers/helpers.c | |
parent | 740f7ba1e3be5d6f192dafc5efd0bd0a8e8567e2 (diff) |
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>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions