diff for duplicates of <54BCFF94.1030009@huawei.com> diff --git a/a/1.txt b/N1/1.txt index f2fea21..6922017 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -27,11 +27,11 @@ On 2015/1/19 20:45, Masami Hiramatsu wrote: > Here is the log. > > ---- -> [root at localhost ~]# cd /sys/kernel/debug/tracing/ -> [root at localhost tracing]# echo p do_fork+5 > kprobe_events # setup new event -> [root at localhost tracing]# echo $$ > set_ftrace_pid # trace only this process -> [root at localhost tracing]# echo 1 > events/kprobes/p_do_fork_5/enable # enable it -> [root at localhost tracing]# cat trace # check the trace data +> [root@localhost ~]# cd /sys/kernel/debug/tracing/ +> [root@localhost tracing]# echo p do_fork+5 > kprobe_events # setup new event +> [root@localhost tracing]# echo $$ > set_ftrace_pid # trace only this process +> [root@localhost tracing]# echo 1 > events/kprobes/p_do_fork_5/enable # enable it +> [root@localhost tracing]# cat trace # check the trace data > # tracer: nop > # > # entries-in-buffer/entries-written: 1/1 #P:8 @@ -44,11 +44,11 @@ On 2015/1/19 20:45, Masami Hiramatsu wrote: > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > # | | | |||| | | > bash-3883 [006] d... 279.799023: p_do_fork_5: (do_fork+0x5/0x360) # OK, now tracing -> [root at localhost tracing]# cat ../kprobes/list +> [root@localhost tracing]# cat ../kprobes/list > ffffffff810bc1c5 k do_fork+0x5 [OPTIMIZED] # and it is actually optimized -> [root at localhost tracing]# echo 0 > ../kprobes/enabled # disable *ALL* kprobes -> [root at localhost tracing]# echo > trace # clear events -> [root at localhost tracing]# cat trace # this should show empty buffer +> [root@localhost tracing]# echo 0 > ../kprobes/enabled # disable *ALL* kprobes +> [root@localhost tracing]# echo > trace # clear events +> [root@localhost tracing]# cat trace # this should show empty buffer > # tracer: nop > # > # entries-in-buffer/entries-written: 1/1 #P:8 @@ -61,7 +61,7 @@ On 2015/1/19 20:45, Masami Hiramatsu wrote: > # TASK-PID CPU# |||| TIMESTAMP FUNCTION > # | | | |||| | | > bash-3883 [006] d... 337.770785: p_do_fork_5: (do_fork+0x5/0x360) # But still tracing! -> [root at localhost tracing]# cat trace # Check again +> [root@localhost tracing]# cat trace # Check again > # tracer: nop > # > # entries-in-buffer/entries-written: 2/2 #P:8 diff --git a/a/content_digest b/N1/content_digest index a4c7354..3713783 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,10 +5,15 @@ "ref\054BCC8C0.40706@hitachi.com\0" "ref\054BCE8C3.4080903@huawei.com\0" "ref\054BCFC6E.1080007@hitachi.com\0" - "From\0wangnan0@huawei.com (Wang Nan)\0" - "Subject\0[PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().\0" + "From\0Wang Nan <wangnan0@huawei.com>\0" + "Subject\0Re: [PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().\0" "Date\0Mon, 19 Jan 2015 20:59:00 +0800\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>\0" + "Cc\0<tixy@linaro.org>" + <linux@arm.linux.org.uk> + <linux-kernel@vger.kernel.org> + <linux-arm-kernel@lists.infradead.org> + " <lizefan@huawei.com>\0" "\00:1\0" "b\0" "On 2015/1/19 20:45, Masami Hiramatsu wrote:\n" @@ -40,11 +45,11 @@ "> Here is the log.\n" "> \n" "> ----\n" - "> [root at localhost ~]# cd /sys/kernel/debug/tracing/\n" - "> [root at localhost tracing]# echo p do_fork+5 > kprobe_events\t# setup new event\n" - "> [root at localhost tracing]# echo $$ > set_ftrace_pid\t\t# trace only this process\n" - "> [root at localhost tracing]# echo 1 > events/kprobes/p_do_fork_5/enable\t# enable it\n" - "> [root at localhost tracing]# cat trace\t\t\t\t# check the trace data\n" + "> [root@localhost ~]# cd /sys/kernel/debug/tracing/\n" + "> [root@localhost tracing]# echo p do_fork+5 > kprobe_events\t# setup new event\n" + "> [root@localhost tracing]# echo $$ > set_ftrace_pid\t\t# trace only this process\n" + "> [root@localhost tracing]# echo 1 > events/kprobes/p_do_fork_5/enable\t# enable it\n" + "> [root@localhost tracing]# cat trace\t\t\t\t# check the trace data\n" "> # tracer: nop\n" "> #\n" "> # entries-in-buffer/entries-written: 1/1 #P:8\n" @@ -57,11 +62,11 @@ "> # TASK-PID CPU# |||| TIMESTAMP FUNCTION\n" "> # | | | |||| | |\n" "> bash-3883 [006] d... 279.799023: p_do_fork_5: (do_fork+0x5/0x360) # OK, now tracing\n" - "> [root at localhost tracing]# cat ../kprobes/list\n" + "> [root@localhost tracing]# cat ../kprobes/list\n" "> ffffffff810bc1c5 k do_fork+0x5 [OPTIMIZED]\t\t\t# and it is actually optimized\n" - "> [root at localhost tracing]# echo 0 > ../kprobes/enabled\t\t# disable *ALL* kprobes\n" - "> [root at localhost tracing]# echo > trace\t\t\t\t# clear events\n" - "> [root at localhost tracing]# cat trace\t\t\t\t# this should show empty buffer\n" + "> [root@localhost tracing]# echo 0 > ../kprobes/enabled\t\t# disable *ALL* kprobes\n" + "> [root@localhost tracing]# echo > trace\t\t\t\t# clear events\n" + "> [root@localhost tracing]# cat trace\t\t\t\t# this should show empty buffer\n" "> # tracer: nop\n" "> #\n" "> # entries-in-buffer/entries-written: 1/1 #P:8\n" @@ -74,7 +79,7 @@ "> # TASK-PID CPU# |||| TIMESTAMP FUNCTION\n" "> # | | | |||| | |\n" "> bash-3883 [006] d... 337.770785: p_do_fork_5: (do_fork+0x5/0x360) # But still tracing!\n" - "> [root at localhost tracing]# cat trace\t\t\t\t# Check again\n" + "> [root@localhost tracing]# cat trace\t\t\t\t# Check again\n" "> # tracer: nop\n" "> #\n" "> # entries-in-buffer/entries-written: 2/2 #P:8\n" @@ -104,4 +109,4 @@ "\n" Thanks to your quick reply. I'll post an improved v1 patch tomorrow. -ad693613e50d606b4e265c6ca64cc25bf9e7ed0f78cee5a7b807facebdbd3031 +5997fc0a17831df0d5bc45da9140f073e88ffc8acc52f7e368cbb2c263fda37e
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.