ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #13118
Re: ftrace on the device
Hi Matthias,
On 08.06.2015 15:38, Matthias Apitz wrote:
> What is ftrace exactly, some sort of strace/truss? I was looking for
> strace to monitor some proceses. I do not have ftrace, at least not in
> the PATH in BQ E4.5.
ftrace is a kernel tracer that can be used for various things. There is
no binary, you read and write from/to files in the
/sys/kernel/debug/tracing subdirectory.
The article at [1] gives a good introduction, but don't expect all
features to be available on all devices. On the production bq kernel
only three of the eight tracers seem to be available.
[1] https://lwn.net/Articles/365835/
cheers,
Simon
References