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

libbpf-tools/klockstat: no more rlimit bumping + add comment #3796

Conversation

davemarchevsky
Copy link
Collaborator

The PR adding the libbpf-tools port of klockstat was sitting in a
mergeable state for some time. Meanwhile, libbpf stopped exposing
rlimit_memlock bumping API and now does the rlimit bump automatically if
necessary. So remove the bump_rlimit_memlock call and set libbpf strict
mode for this tool.

Also, add a comment (from @brho's PR summary in #3688) detailing the
differences in default behavior between the libbpf-tools and bcc-python
versions.

Signed-off-by: Dave Marchevsky davemarchevsky@fb.com

The PR adding the libbpf-tools port of klockstat was sitting in a
mergeable state for some time. Meanwhile, libbpf stopped exposing
rlimit_memlock bumping API and now does the rlimit bump automatically if
necessary. So remove the bump_rlimit_memlock call and set libbpf strict
mode for this tool.

Also, add a comment (from @brho's PR summary in iovisor#3688) detailing the
differences in default behavior between the libbpf-tools and bcc-python
versions.

Signed-off-by: Dave Marchevsky <davemarchevsky@fb.com>
@davemarchevsky
Copy link
Collaborator Author

@yonghong-song I'm going to merge this when tests are green in order to get master branch to a green state, but FYI

@yonghong-song
Copy link
Collaborator

@yonghong-song I'm going to merge this when tests are green in order to get master branch to a green state, but FYI

Sure. sounds good to me. Thanks!

@davemarchevsky davemarchevsky merged commit f1fe590 into iovisor:master Jan 7, 2022
@davemarchevsky davemarchevsky deleted the davemarchevsky_klockstat_fixups branch January 7, 2022 03:50
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.

2 participants