diff options
| author | Ian Rogers <irogers@google.com> | 2025-07-24 19:32:49 +0300 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-25 20:37:56 +0300 |
| commit | c3e5b9ec96dee864c2d6b00fbfe52e784f0d7bee (patch) | |
| tree | 97bfe05652e699c9e314aeea01b661fb49750ab5 /scripts/rustdoc_test_gen.rs | |
| parent | 53b00ff358dc75b12042b2b2aaf1d0e998fd0075 (diff) | |
| download | linux-c3e5b9ec96dee864c2d6b00fbfe52e784f0d7bee.tar.xz | |
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 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
