Re: [lttng-dev] How to user perf probes and module tracepoints in lttng

2017-10-12 Thread Francis Deslauriers
2017-10-12 9:50 GMT-04:00 avkumar : > Francis, > The suggestion you gave works, but the issue I was trying to solve was to be > able to peer into the structures passed to the function and get some > information from that. That is the reason I pulled out the variables in perf > probe. When I use the

Re: [lttng-dev] How to user perf probes and module tracepoints in lttng

2017-10-12 Thread avkumar
Francis, The suggestion you gave works, but the issue I was trying to solve was to be able to peer into the structures passed to the function and get some information from that. That is the reason I pulled out the variables in perf probe. When I use the way you have suggested I am not able to figur

Re: [lttng-dev] How to user perf probes and module tracepoints in lttng

2017-10-11 Thread Francis Deslauriers
Hi, 2017-10-11 17:10 GMT-04:00 avkumar : > > Perf probes: > How can we add the dynamic trace points created by perf probe into lttng? > When I add the perf probe as kprobe type I get missing tracepoint error, If I > add the perf probe as tracepoint , Lttng does not complain but it does not > col

[lttng-dev] How to user perf probes and module tracepoints in lttng

2017-10-11 Thread avkumar
Perf probes: How can we add the dynamic trace points created by perf probe into lttng? When I add the perf probe as kprobe type I get missing tracepoint error, If I add the perf probe as tracepoint , Lttng does not complain but it does not collect any data when the tracepoint is hit. perf probe -l