remove unused MSG_MAX
authorBrendan Gregg <brendan.d.gregg@gmail.com>
Mon, 25 Jul 2016 23:58:37 +0000 (16:58 -0700)
committerBrendan Gregg <brendan.d.gregg@gmail.com>
Mon, 25 Jul 2016 23:58:37 +0000 (16:58 -0700)
docs/tutorial_bcc_python_developer.md
examples/tracing/hello_perf_output.py

index f1f7a7a..645c2ba 100644 (file)
@@ -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),
index faffd21..78f94e6 100755 (executable)
@@ -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),