From 08fbceb7e828f0e3e77688497727c5b2405905fd Mon Sep 17 00:00:00 2001 From: Brendan Gregg Date: Mon, 25 Jul 2016 16:58:37 -0700 Subject: [PATCH] remove unused MSG_MAX --- docs/tutorial_bcc_python_developer.md | 2 -- examples/tracing/hello_perf_output.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/docs/tutorial_bcc_python_developer.md b/docs/tutorial_bcc_python_developer.md index f1f7a7a..645c2ba 100644 --- a/docs/tutorial_bcc_python_developer.md +++ b/docs/tutorial_bcc_python_developer.md @@ -256,7 +256,6 @@ prog = """ #include // 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), diff --git a/examples/tracing/hello_perf_output.py b/examples/tracing/hello_perf_output.py index faffd21..78f94e6 100755 --- a/examples/tracing/hello_perf_output.py +++ b/examples/tracing/hello_perf_output.py @@ -10,7 +10,6 @@ prog = """ #include // 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), -- 2.7.4