diff options
author | Ian Rogers <irogers@google.com> | 2025-07-24 09:32:50 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-25 10:37:56 -0700 |
commit | 57ddb9cbb54fbf3772063795051b88a1f7258c6c (patch) | |
tree | 36f6a2e9b598aa305b9bb862fc623eeee16218fe /rust/helpers/helpers.c | |
parent | c3e5b9ec96dee864c2d6b00fbfe52e784f0d7bee (diff) |
perf evlist: Change env variable to session
The session holds a perf_env pointer env. In UI code container_of is
used to turn the env to a session, but this assumes the session
header's env is in use. Rather than a dubious container_of, hold the
session in the evlist and derive the env from the session with
evsel__env, perf_session__env, etc.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-11-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