Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added env var to forcibly disable perf dlfilter #232

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

Lamoreauxaj
Copy link
Contributor

Tudor pointed out the necessity of an environment variable to disable using --dlfilter with perf script. This is because on our systems, perf is only allowed to run as root and trace the kernel with certain flags which do not include --dlfilter. This environment variable will allow the user to forcibly disable --dlfilter to be able to still trace the kernel in these situations.

Copy link
Member

@Xyene Xyene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Tudor pointed out the necessity of an environment variable to disable using
`--dlfilter` with `perf script`. This is because on our systems, perf is only
allowed to run as root and trace the kernel with certain flags which do not
include `--dlfilter`. This environment variable will allow the user to forcibly
disable `--dlfilter` to be able to still trace the kernel in these situations.

Signed-off-by: Aaron Lamoreaux <alamoreaux@janestreet.com>
@Xyene Xyene merged commit 3338d77 into janestreet:master Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants