Re: Problem with ftrace uprobes on ARM

From: Rabin Vincent
Date: Wed Aug 12 2015 - 13:33:20 EST


On Wed, Aug 12, 2015 at 11:27:35AM +0200, Christian Ascheberg wrote:
> Is there any documentation regarding limitations of perf/ftrace support on
> ARM (compared to x86)?

There's Documentation/features/ which lists the status of architecture
support for various kernel options. I don't know of any other
documentation.

> For example, I also noticed that 'perf help' lists 'trace' command, but
> running 'perf trace' says 'is not a perf-command'.

That doesn't have anything to do with something missing in ARM afaics.
It's probably because your perf wasn't built with libaudit. Information
is printed about this when you build perf. The fact that 'perf help'
lists unavailable commands is probably a bug.

~/dev/linux/tools/perf$ make
BUILD: Doing 'make -j8' parallel build
config/Makefile:366: No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/