Re: [ftrace] possible to implement user-space tracers?

2015-08-11 Thread Kun Huang
with this idea. On Wed, Aug 12, 2015 at 11:58 AM, Scotty wrote: > Hi Kun, > > > > On 08/11/2015 08:42 PM, Kun Huang wrote: >> Hi Scotty >> >> I have read your links. I found the read from 'trace' and the write to >> 'trace_marker' are n

Re: [ftrace] possible to implement user-space tracers?

2015-08-11 Thread Kun Huang
ftrace. On Wed, Aug 12, 2015 at 10:25 AM, Kun Huang wrote: > Thank you for your help Scotty :) I'm reading it. > > On Wed, Aug 12, 2015 at 2:34 AM, Scotty Bauer wrote: >> It is possible to trace from userland, Android does it. >> >> Essentially you need to w

Re: [ftrace] possible to implement user-space tracers?

2015-08-11 Thread Kun Huang
r > (host side setup of the device) > > trace-dev (for writing data in): > https://android.googlesource.com/platform/system/core/+/master/libcutils/trace-dev.c > > Once we have all the data we usually run it through trace-viewer, > (https://github.com/catapult-project/catapul

[ftrace] possible to implement user-space tracers?

2015-08-11 Thread Kun Huang
Hi ftrace developers I'm developing a huge python based programs and facing performance issue everyday. I like the ftrace system and hope there could be a tracer to trace&report my python codes. Is it possible or is it worthy to do this? --- Kun -- To unsubscribe from this list: send the line "u