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: Fix cachestat with kernel 5.15 #3747

Merged
merged 1 commit into from Mar 12, 2022

Conversation

chenhengqi
Copy link
Collaborator

The tool cachestat is broken on kernel 5.15 due to kernel function
renaming. Fix the tool by detecting symbol existence. See #3687 and
#3692.

Signed-off-by: Hengqi Chen chenhengqi@outlook.com

@davemarchevsky
Copy link
Collaborator

@chenhengqi is this still a 'draft'? I think it's mergeable as-is

@davemarchevsky davemarchevsky self-assigned this Dec 15, 2021
@chenhengqi
Copy link
Collaborator Author

It works on kernel 5.15, but still broken on recent 5.16-rc :(

@inevity
Copy link

inevity commented Feb 16, 2022

Works on 5.16.7 kernel.

@chenhengqi chenhengqi marked this pull request as ready for review February 16, 2022 11:57
@chenhengqi chenhengqi force-pushed the fix-cachestat branch 2 times, most recently from c2affb4 to f36fc10 Compare February 16, 2022 12:00
The tool cachestat is broken on kernel 5.15 due to kernel function
renaming. Fix the tool by detecting symbol existence. See iovisor#3687 and
 iovisor#3692.

Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
@chenhengqi
Copy link
Collaborator Author

@davemarchevsky Could you take a look at this again ?

@yonghong-song yonghong-song merged commit 194e690 into iovisor:master Mar 12, 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

4 participants