Commit 2704ade
authored
Allow configuring all ConnTrackers' debug trace level at runtime (#2023)
Summary: Allow configuring all ConnTrackers' debug trace level at
runtime
When debugging tracing issues with servers that handle requests
pre-fork, it's not practical to use `--stirling_conn_trace_pid` (each
request is served by a new PID). This change allows enabling debug
tracing for all conn trackers to facilitate easier debugging.
Relevant Issues: N/A
Type of change: /kind feature
Test Plan: Skaffolded this change and verified that the following
`stirling_ctrl` command enables `CONN_TRACE` globally.
```
$ ./stirling_ctrl ${pid_of_pem} 1 2
```
Changelog Message: Provide mechanism for debugging a PEM's connection
tracking more easily at runtime
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>1 parent 6fc0f18 commit 2704ade
File tree
1 file changed
+6
-0
lines changed- src/stirling/source_connectors/socket_tracer
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
706 | 706 | | |
707 | 707 | | |
708 | 708 | | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
709 | 715 | | |
710 | 716 | | |
711 | 717 | | |
| |||
0 commit comments