tools/latency: Use pkg-config in lib_setup of Makefile.config
authorGuilherme Amadio <amadio@gentoo.org>
Wed, 17 Jul 2024 17:47:39 +0000 (19:47 +0200)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 17 Jul 2024 20:15:18 +0000 (13:15 -0700)
commit2085948e5f8b31c1ec1bc92413794d11ff749bb2
tree5446d85ef5fbcd822408365491b4c8814a61c2dd
parenteb545a42d0f1da8dd1a09072cff18f5605add05b
tools/latency: Use pkg-config in lib_setup of Makefile.config

This allows to build against libtraceevent and libtracefs installed
in non-standard locations.

Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
Tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Tested-by: Leo Yan <leo.yan@arm.com>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Cc: linux-trace-devel@vger.kernel.org
Link: https://lore.kernel.org/r/20240717174739.186988-6-amadio@gentoo.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/tracing/latency/Makefile.config