Commit 4aca4770 authored by Brenden Blanco's avatar Brenden Blanco

Merge pull request #120 from iovisor/yhs_dev

Add one line desc output for simple_tc
parents 949e9eb1 8bbf0621
...@@ -27,6 +27,7 @@ sudo apt-get install libbcc ...@@ -27,6 +27,7 @@ sudo apt-get install libbcc
Test it: Test it:
`sudo python /usr/share/bcc/examples/hello_world.py` `sudo python /usr/share/bcc/examples/hello_world.py`
`sudo python /usr/share/bcc/examples/task_switch.py`
(Optional) Install pyroute2 for additional networking features (Optional) Install pyroute2 for additional networking features
```bash ```bash
......
...@@ -27,3 +27,4 @@ try: ...@@ -27,3 +27,4 @@ try:
name=fn.name, parent="1:", action="ok", classid=1) name=fn.name, parent="1:", action="ok", classid=1)
finally: finally:
if "idx" in locals(): ipr.link_remove(idx) if "idx" in locals(): ipr.link_remove(idx)
print("BPF tc functionality - SCHED_CLS: OK")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment