Commit b5dd576
committed
CI: attach new probes in BPF smoke test; broaden x86 guard
BPF() construction loads every function but does not attach kprobes, so a
compiled-out or mis-named handler (e.g. if the arch guard around the
*_x64 wrapper probes ever evaluated false) would pass CI and abort the
tracer at startup instead. Attach the fsync de-dup pair, the
pt_regs-unwrapping *_x64 wrapper probes, and the DIO direction probes in
the smoke test, conditional on symbol availability.
Also accept bpf_target_x86 (BCC helpers' canonical arch macro) alongside
__x86_64__ in the wrapper-probe guards so a BCC switch to
__TARGET_ARCH_* defines keeps the probes compiled.
https://claude.ai/code/session_01S9qNz7CTGBd4dLLDFVVQky1 parent 1f7edf9 commit b5dd576
2 files changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
62 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
63 | 87 | | |
64 | 88 | | |
65 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1158 | 1158 | | |
1159 | 1159 | | |
1160 | 1160 | | |
1161 | | - | |
| 1161 | + | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
| |||
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | | - | |
| 1625 | + | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| |||
3776 | 3776 | | |
3777 | 3777 | | |
3778 | 3778 | | |
3779 | | - | |
| 3779 | + | |
3780 | 3780 | | |
3781 | 3781 | | |
3782 | 3782 | | |
| |||
0 commit comments