Commit bbcd2d0
Pete Stevenson
[stirling] Fix
Summary: To prevent older kernels from complaining about eBPF
instruction count, mux protocol tracing is only enabled for "newer"
kernels. In our test case, we want to enable mux tracing. We fix test
`netty_tls_trace_bpf_test.cc` by enabling mux protocol tracing using the
test `SetUp` method (and we simultaneously disable a few other protocols
to save on eBPF instruction count). Previously, we used an init
function, but that was rendered ineffective after we switched our flags
from command line args. to env. args.
Type of change: /kind bug fix
Test Plan: Existing tests.
Signed-off-by: Pete Stevenson <jps@pixielabs.ai>netty_tls_trace_bpf_test.cc mux protocol tracing option. (#1690)1 parent 9a4ad3c commit bbcd2d0
File tree
1 file changed
+17
-18
lines changed- src/stirling/source_connectors/socket_tracer
1 file changed
+17
-18
lines changedLines changed: 17 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 53 | + | |
| 54 | + | |
68 | 55 | | |
69 | 56 | | |
70 | | - | |
71 | | - | |
72 | 57 | | |
73 | | - | |
| 58 | + | |
74 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
0 commit comments