Skip to content

Commit

Permalink
remove unused MSG_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
brendangregg committed Jul 25, 2016
1 parent c9d9a32 commit 08fbceb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/tutorial_bcc_python_developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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),
Expand Down
2 changes: 0 additions & 2 deletions examples/tracing/hello_perf_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <linux/sched.h>
// define output data structure in C
#define MSG_MAX 32
struct data_t {
u32 pid;
u64 ts;
Expand All @@ -37,7 +36,6 @@

# 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),
Expand Down

0 comments on commit 08fbceb

Please sign in to comment.