Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
4aca4770
Commit
4aca4770
authored
Aug 10, 2015
by
Brenden Blanco
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #120 from iovisor/yhs_dev
Add one line desc output for simple_tc
parents
949e9eb1
8bbf0621
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
INSTALL.md
INSTALL.md
+1
-0
examples/simple_tc.py
examples/simple_tc.py
+1
-0
No files found.
INSTALL.md
View file @
4aca4770
...
@@ -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
...
...
examples/simple_tc.py
View file @
4aca4770
...
@@ -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"
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment