diff for duplicates of <54BCFC6E.1080007@hitachi.com> diff --git a/a/1.txt b/N1/1.txt index 2b6254e..098d762 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -26,11 +26,11 @@ I also reproduced the bug without gdb. 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 @@ -43,11 +43,11 @@ Here is the log. # 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 @@ -60,7 +60,7 @@ ffffffff810bc1c5 k do_fork+0x5 [OPTIMIZED] # and it is actually optimized # 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 @@ -91,4 +91,4 @@ Thank you, Masami HIRAMATSU Software Platform Research Dept. Linux Technology Research Center Hitachi, Ltd., Yokohama Research Laboratory -E-mail: masami.hiramatsu.pt at hitachi.com +E-mail: masami.hiramatsu.pt@hitachi.com diff --git a/a/content_digest b/N1/content_digest index 59fe9c6..24c6bc3 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,10 +4,15 @@ "ref\054BC742E.80006@huawei.com\0" "ref\054BCC8C0.40706@hitachi.com\0" "ref\054BCE8C3.4080903@huawei.com\0" - "From\0masami.hiramatsu.pt@hitachi.com (Masami Hiramatsu)\0" - "Subject\0[PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().\0" + "From\0Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>\0" + "Subject\0Re: [PATCH] kprobes: bugfix: checks kprobes_all_disarmed in unoptimized_kprobe().\0" "Date\0Mon, 19 Jan 2015 21:45:34 +0900\0" - "To\0linux-arm-kernel@lists.infradead.org\0" + "To\0Wang Nan <wangnan0@huawei.com>\0" + "Cc\0tixy@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" "(2015/01/19 20:21), Wang Nan wrote:\n" @@ -38,11 +43,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" @@ -55,11 +60,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" @@ -72,7 +77,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" @@ -103,6 +108,6 @@ "Masami HIRAMATSU\n" "Software Platform Research Dept. Linux Technology Research Center\n" "Hitachi, Ltd., Yokohama Research Laboratory\n" - E-mail: masami.hiramatsu.pt at hitachi.com + E-mail: masami.hiramatsu.pt@hitachi.com -54c5dd23ff5394af6e06c72e409ffc2959335b0090d000c2dbb4277a9be7c71e +26db7d238f924635c99171fb6dfec7e004eae9d10a5edd40b817e096a180aa5a
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.