Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-27 Thread chengjian (D)
Hi, Milian On 2018/1/16 22:33, Milian Wolff wrote: perf script print the same wakeup_new event multiple times. These events which trigger this issue all specify a target process. commit e6dab5ffab59 ("perf/trace: Add ability to set a target task for events") has designed a method to trace

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-27 Thread chengjian (D)
Hi, Milian On 2018/1/16 22:33, Milian Wolff wrote: perf script print the same wakeup_new event multiple times. These events which trigger this issue all specify a target process. commit e6dab5ffab59 ("perf/trace: Add ability to set a target task for events") has designed a method to trace

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-17 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 17, 2018 at 10:33:42AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Jan 16, 2018 at 04:06:22PM +0100, Jiri Olsa escreveu: > > On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote: > > > after this patch, perf script(parent-1040, child-1041): > > > test_fork 1040 [002]

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-17 Thread Arnaldo Carvalho de Melo
Em Wed, Jan 17, 2018 at 10:33:42AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Jan 16, 2018 at 04:06:22PM +0100, Jiri Olsa escreveu: > > On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote: > > > after this patch, perf script(parent-1040, child-1041): > > > test_fork 1040 [002]

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-17 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 16, 2018 at 04:06:22PM +0100, Jiri Olsa escreveu: > On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote: > > When i use perf to trace the sched_wakeup_new tracepoint, there is > > a bug that output the same event repetitiously. > > It can be reproduced by : > > > >

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-17 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 16, 2018 at 04:06:22PM +0100, Jiri Olsa escreveu: > On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote: > > When i use perf to trace the sched_wakeup_new tracepoint, there is > > a bug that output the same event repetitiously. > > It can be reproduced by : > > > >

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-16 Thread Jiri Olsa
On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote: > When i use perf to trace the sched_wakeup_new tracepoint, there is > a bug that output the same event repetitiously. > It can be reproduced by : > > #./test_fork > parent pid : 1059 > child pid : 1060

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-16 Thread Jiri Olsa
On Tue, Jan 16, 2018 at 08:40:38PM +0800, Cheng Jian wrote: > When i use perf to trace the sched_wakeup_new tracepoint, there is > a bug that output the same event repetitiously. > It can be reproduced by : > > #./test_fork > parent pid : 1059 > child pid : 1060

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-16 Thread Milian Wolff
On Tuesday, January 16, 2018 1:40:38 PM CET Cheng Jian wrote: > When i use perf to trace the sched_wakeup_new tracepoint, there is > a bug that output the same event repetitiously. > It can be reproduced by : > > #./test_fork > parent pid : 1059 > child pid :

Re: [PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-16 Thread Milian Wolff
On Tuesday, January 16, 2018 1:40:38 PM CET Cheng Jian wrote: > When i use perf to trace the sched_wakeup_new tracepoint, there is > a bug that output the same event repetitiously. > It can be reproduced by : > > #./test_fork > parent pid : 1059 > child pid :

[PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-16 Thread Cheng Jian
When i use perf to trace the sched_wakeup_new tracepoint, there is a bug that output the same event repetitiously. It can be reproduced by : #./test_fork parent pid : 1059 child pid : 1060 #perf record -e sched:sched_wakeup_new -p 1060 test_fork is

[PATCH v3] perf/trace : Fix repetitious traces of perf on tracepoint

2018-01-16 Thread Cheng Jian
When i use perf to trace the sched_wakeup_new tracepoint, there is a bug that output the same event repetitiously. It can be reproduced by : #./test_fork parent pid : 1059 child pid : 1060 #perf record -e sched:sched_wakeup_new -p 1060 test_fork is