diff options
author | Ian Rogers <irogers@google.com> | 2025-07-24 09:32:49 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-25 10:37:56 -0700 |
commit | c3e5b9ec96dee864c2d6b00fbfe52e784f0d7bee (patch) | |
tree | 97bfe05652e699c9e314aeea01b661fb49750ab5 /rust/helpers/helpers.c | |
parent | 53b00ff358dc75b12042b2b2aaf1d0e998fd0075 (diff) |
perf session: Add accessor for session->header.env
The perf_env from the header in the session is frequently accessed,
add an accessor function rather than access directly. Cache the value
to avoid repeated calls. No behavioral change.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-10-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