-
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): Use BTF-Defined Raw Tracepoints (#1542)
It turns out that RHEL is carrying a patch that increases the size of the unreadable tracepoint-common area from 8 bytes to 12 bytes. This means that our reads into the context area are off, causing the probes to return invalid data. To fix this we use BTF-Defined Raw Tracepoints that were added in Kernel 5.5 (less than our 5.12 minimum version). This type of tracepoint program uses BTF and CO-RE to access arguments from the tracepoint context. Signed-off-by: Dave Tucker <[email protected]>
- Loading branch information
1 parent
0143373
commit 0b0b215
Showing
1 changed file
with
19 additions
and
34 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