Re: [PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 02, 2017 at 02:40:48PM +0100, Ingo Molnar escreveu: > * Ravi Bangoria wrote: > > After patch: > > $ perf record -e sdt_glib:main__after_check > > event syntax error: 'sdt_glib:idle__add' > > \___ unknown tracepoint > >

Re: [PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Arnaldo Carvalho de Melo
Em Thu, Feb 02, 2017 at 02:40:48PM +0100, Ingo Molnar escreveu: > * Ravi Bangoria wrote: > > After patch: > > $ perf record -e sdt_glib:main__after_check > > event syntax error: 'sdt_glib:idle__add' > > \___ unknown tracepoint > > Error: File

Re: [PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Ingo Molnar
* Ravi Bangoria wrote: > After patch: > $ perf record -e sdt_glib:main__after_check > event syntax error: 'sdt_glib:idle__add' > \___ unknown tracepoint > > Error: File /sys/kernel/debug/tracing/events/sdt_glib/idle__add ... >

Re: [PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Ingo Molnar
* Ravi Bangoria wrote: > After patch: > $ perf record -e sdt_glib:main__after_check > event syntax error: 'sdt_glib:idle__add' > \___ unknown tracepoint > > Error: File /sys/kernel/debug/tracing/events/sdt_glib/idle__add ... > Hint: SDT event has to be

[PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Ravi Bangoria
All events from 'perf list', except SDT events, can be directly recorded with 'perf record'. But, the flow is little different for SDT events. User has to probe on SDT events before recording them. Perf is showing misleading message when user tries to record SDT event without probing it. Show

[PATCH 1/5] perf/sdt: Show proper hint

2017-02-02 Thread Ravi Bangoria
All events from 'perf list', except SDT events, can be directly recorded with 'perf record'. But, the flow is little different for SDT events. User has to probe on SDT events before recording them. Perf is showing misleading message when user tries to record SDT event without probing it. Show