Skip to content

Commit b743a13

Browse files
captain5050namhyung
authored andcommitted
perf header: Clean up use of perf_env
Always use the perf_env from the feat_fd's perf_header. Cache the value on entry to a function in `env` and use `env->` consistently in the code. Ensure the header is initialized for use in perf_session__do_write_header. Signed-off-by: Ian Rogers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent 57ddb9c commit b743a13

File tree

1 file changed

+98
-76
lines changed

1 file changed

+98
-76
lines changed

0 commit comments

Comments
 (0)