-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(bpf): Fix kepler_write_page_cache attach
We need to use a standard tracepoint for kepler_write_page_cache to avoid BTF relocation errors on systems where the writeback_dirty_folio tracepoint doesn't exist. This is due to the rename of writeback_dirty_page to writeback_dirty_folio that happened in Kernel 5.16. This patch adjust the attach logic to fall back to the old name if the writeback_dirty_folio tracepoint does not exist. Signed-off-by: Dave Tucker <[email protected]>
- Loading branch information
1 parent
fbe9b3c
commit a57041c
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters