Re: [GIT PULL] tracing/rtla: Updates to the RTLA tool

From: Steven Rostedt
Date: Wed Mar 23 2022 - 15:43:08 EST


On Wed, 23 Mar 2022 11:15:30 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> That said, mentioning the perf tools, I wish the tracing tools would
> do a bit more package checking and helpful error messages too, rather
> than just fail with
>
> fatal error: tracefs.h: No such file or directory
>
> when (presumably) libtracefs and friends are needed.

Yes exactly.

Daniel, care to update the Makefile to check for libtracefs and friends and
give a more informative message when it fails?

You can look at the trace-cmd Makefile that does so.

-- Steve