Commit e11c95e
authored
[Kernel scoping 5/5] Fix tcp drops PxL script (#1688)
Summary: Updates the currently broken `tcp_drops` PxL script to use a
different BPFtrace program depending on the kernel version of the host
it is deployed to.
Related issues: Fixes #1582
Type of change: /kind bug
Test Plan: Verified that new script works on kernels >=5.19. `Note`: due
to backported changes (i.e. the kprobe was removed in older versions of
the kernel), the old bpftrace script may not work on some older kernels
<5.19. Unfortunately, the new script may also not work on older kernels
because of other unsupported features. More testing is required to
modify the old `tcp_drops` script to work on kernels <5.19.
---------
Signed-off-by: Benjamin Kilimnik <bkilimnik@pixielabs.ai>1 parent a0fb9ee commit e11c95e
4 files changed
Lines changed: 74 additions & 172 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
86 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
87 | 159 | | |
88 | 160 | | |
89 | 161 | | |
90 | 162 | | |
91 | 163 | | |
92 | 164 | | |
93 | | - | |
| 165 | + | |
94 | 166 | | |
95 | 167 | | |
96 | 168 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments