From: Brendan Gregg Date: Mon, 25 Jul 2016 23:58:37 +0000 (-0700) Subject: remove unused MSG_MAX X-Git-Tag: v0.2.0~38^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08fbceb7e828f0e3e77688497727c5b2405905fd;p=platform%2Fupstream%2Fbcc.git remove unused MSG_MAX --- 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),