The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/kernelshark#88e47722badce39d0ac907633b6455047a29cf95
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From afa8362e1b11a892a27e436d13616c7851f6e6d5 Mon Sep 17 00:00:00 2001
|
|
From: Zamir SUN <sztsian@gmail.com>
|
|
Date: Thu, 24 Sep 2020 21:13:12 +0800
|
|
Subject: [PATCH] kernel-shark: Fix dependency (symbol resolving) issue
|
|
|
|
Backport of
|
|
https://lore.kernel.org/linux-trace-devel/20200916065007.9755-4-y.karadz@gmail.com/raw
|
|
|
|
Signed-off-by: Zamir SUN <sztsian@gmail.com>
|
|
---
|
|
kernel-shark/src/CMakeLists.txt | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/kernel-shark/src/CMakeLists.txt b/kernel-shark/src/CMakeLists.txt
|
|
index e20a030..7b47b92 100644
|
|
--- a/kernel-shark/src/CMakeLists.txt
|
|
+++ b/kernel-shark/src/CMakeLists.txt
|
|
@@ -7,8 +7,9 @@ add_library(kshark SHARED libkshark.c
|
|
libkshark-configio.c
|
|
libkshark-collection.c)
|
|
|
|
-target_link_libraries(kshark ${TRACEEVENT_LIBRARY}
|
|
- ${TRACECMD_LIBRARY}
|
|
+target_link_libraries(kshark ${TRACECMD_LIBRARY}
|
|
+ ${TRACEFS_LIBRARY}
|
|
+ ${TRACEEVENT_LIBRARY}
|
|
${JSONC_LIBRARY}
|
|
${CMAKE_DL_LIBS})
|
|
|
|
--
|
|
2.26.2
|
|
|