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
08fbceb7
Commit
08fbceb7
authored
Jul 25, 2016
by
Brendan Gregg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused MSG_MAX
parent
c9d9a320
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
docs/tutorial_bcc_python_developer.md
docs/tutorial_bcc_python_developer.md
+0
-2
examples/tracing/hello_perf_output.py
examples/tracing/hello_perf_output.py
+0
-2
No files found.
docs/tutorial_bcc_python_developer.md
View file @
08fbceb7
...
...
@@ -256,7 +256,6 @@ prog = """
#include <linux/sched.h>
// define output data structure in C
#define MSG_MAX 32
struct data_t {
u32 pid;
u64 ts;
...
...
@@ -283,7 +282,6 @@ b.attach_kprobe(event="sys_clone", fn_name="hello")
# define output data structure in Python
TASK_COMM_LEN = 16 # linux/sched.h
MSG_MAX = 32
class Data(ct.Structure):
_fields_ = [("pid", ct.c_ulonglong),
("ts", ct.c_ulonglong),
...
...
examples/tracing/hello_perf_output.py
View file @
08fbceb7
...
...
@@ -10,7 +10,6 @@ prog = """
#include <linux/sched.h>
// define output data structure in C
#define MSG_MAX 32
struct data_t {
u32 pid;
u64 ts;
...
...
@@ -37,7 +36,6 @@ b.attach_kprobe(event="sys_clone", fn_name="hello")
# define output data structure in Python
TASK_COMM_LEN
=
16
# linux/sched.h
MSG_MAX
=
32
class
Data
(
ct
.
Structure
):
_fields_
=
[(
"pid"
,
ct
.
c_ulonglong
),
(
"ts"
,
ct
.
c_ulonglong
),
...
...
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