Commit 26ebba25 authored by Tao Chen's avatar Tao Chen Committed by Steven Rostedt (Google)
Browse files

tools/latency-collector: Check pkg-config install

The tool pkg-config used to check libtraceevent and libtracefs, if not
installed, it will report the libs not found, even though they have
already been installed.

Before:
libtraceevent is missing. Please install libtraceevent-dev/libtraceevent-devel
libtracefs is missing. Please install libtracefs-dev/libtracefs-devel

After:
Makefile.config:10: *** Error: pkg-config needed by libtraceevent/libtracefs is missing
on this system, please install it.

Link: https://lore.kernel.org/20250808040527.2036023-1-chen.dylane@linux.dev


Fixes: 9d56c88e ("tools/tracing: Use tools/build makefiles on latency-collector")
Signed-off-by: default avatarTao Chen <chen.dylane@linux.dev>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent c17b750b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment