diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2011-02-04 07:51:59 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-02-07 06:15:59 -0500 |
commit | e3745369986ddcdaa19f70e2d24e658876b97e84 (patch) | |
tree | 8c9758b28058e63510613b90c62d25c075fc8dcf /kernel/trace/trace_kprobe.c | |
parent | 76022db323dd6d7c6958df3d595f7dedf7a14778 (diff) |
tracing/kprobes: Support longer (>128 bytes) command
Expand command line buffer of kprobe-tracer to 4096 bytes.
Reported-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: 2nddept-manager@sdl.hitachi.co.jp
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <20110204125159.9507.20895.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
-rw-r--r-- | kernel/trace/trace_kprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 2088893c049e..c6ed88660856 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -1129,7 +1129,7 @@ static int command_trace_probe(const char *buf) | |||
1129 | return ret; | 1129 | return ret; |
1130 | } | 1130 | } |
1131 | 1131 | ||
1132 | #define WRITE_BUFSIZE 128 | 1132 | #define WRITE_BUFSIZE 4096 |
1133 | 1133 | ||
1134 | static ssize_t probes_write(struct file *file, const char __user *buffer, | 1134 | static ssize_t probes_write(struct file *file, const char __user *buffer, |
1135 | size_t count, loff_t *ppos) | 1135 | size_t count, loff_t *ppos) |