diff options
author | Ian Rogers <irogers@google.com> | 2025-07-24 09:32:53 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2025-07-25 10:37:57 -0700 |
commit | 740f7ba1e3be5d6f192dafc5efd0bd0a8e8567e2 (patch) | |
tree | 365d1dfb382d79b92c4729ee9e907f76a9455a81 /rust/helpers/helpers.c | |
parent | 5a156353e55e994627ac584e90b3b802e51e1ee2 (diff) |
perf session: Add host_env argument to perf_session__new
When creating a perf_session the host perf_env may or may not want to
be used. For example, `perf top` uses a host perf_env while `perf
inject` does not. Add a host_env argument to perf_session__new so that
sessions requiring a host perf_env can pass it in. Currently if none
is specified the global perf_env variable is used, but this will
change in later patches.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250724163302.596743-14-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