diff options
author | 2025-07-24 09:32:53 -0700 | |
---|---|---|
committer | 2025-07-25 10:37:57 -0700 | |
commit | 740f7ba1e3be5d6f192dafc5efd0bd0a8e8567e2 (patch) | |
tree | 365d1dfb382d79b92c4729ee9e907f76a9455a81 /tools/perf/scripts/python | |
parent | perf test: Avoid use perf_env (diff) | |
download | wireguard-linux-740f7ba1e3be5d6f192dafc5efd0bd0a8e8567e2.tar.xz wireguard-linux-740f7ba1e3be5d6f192dafc5efd0bd0a8e8567e2.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions