Skip to content

Commit 06c81ae

Browse files
committed
docs: fix TC section in decorators
1 parent 9131d04 commit 06c81ae

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

docs/user-guide/decorators.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,6 @@ def xdp_prog(ctx: c_void_p) -> c_int64:
117117
return XDP_PASS
118118
```
119119

120-
#### TC (Traffic Control)
121-
122-
For network traffic filtering:
123-
124-
```python
125-
@section("classifier")
126-
def tc_filter(ctx):
127-
pass
128-
```
129-
130120
### Finding Tracepoints
131121

132122
To find available tracepoints on your system:
@@ -260,7 +250,7 @@ def track_processes(ctx: c_void_p) -> c_int64:
260250
event.pid = pid()
261251
# Note: comm() requires a buffer parameter
262252
# comm(event.comm) # Fills event.comm with process name
263-
253+
264254
events.output(event)
265255
return c_int64(0)
266256
```

0 commit comments

Comments
 (0)