Linux-Trace-Devel Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] kernel-shark: Fix search path for libtracefs
@ 2020-02-05  7:07 Tzvetomir Stoyanov (VMware)
  2020-02-17  8:50 ` Yordan Karadzhov (VMware)
  0 siblings, 1 reply; 2+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2020-02-05  7:07 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

Cmake uses wrong relative path while searching for
development version of libtracefs: lib/trace-cmd,
but the tracefs library is located at lib/tracefs

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
 kernel-shark/build/FindTraceCmd.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel-shark/build/FindTraceCmd.cmake b/kernel-shark/build/FindTraceCmd.cmake
index f27fafe..c29b779 100644
--- a/kernel-shark/build/FindTraceCmd.cmake
+++ b/kernel-shark/build/FindTraceCmd.cmake
@@ -43,7 +43,7 @@ find_library(TRACECMD_LIBRARY   NAMES  trace-cmd/libtracecmd.a
                                        ${CMAKE_SOURCE_DIR}/../lib/
                                 NO_DEFAULT_PATH)
 
-find_library(TRACEFS_LIBRARY    NAMES  trace-cmd/libtracefs.a
+find_library(TRACEFS_LIBRARY    NAMES  tracefs/libtracefs.a
                                 PATHS  $ENV{TRACE_CMD}/lib/
                                        ${CMAKE_SOURCE_DIR}/../lib/
                                 NO_DEFAULT_PATH)
-- 
2.24.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kernel-shark: Fix search path for libtracefs
  2020-02-05  7:07 [PATCH] kernel-shark: Fix search path for libtracefs Tzvetomir Stoyanov (VMware)
@ 2020-02-17  8:50 ` Yordan Karadzhov (VMware)
  0 siblings, 0 replies; 2+ messages in thread
From: Yordan Karadzhov (VMware) @ 2020-02-17  8:50 UTC (permalink / raw)
  To: Tzvetomir Stoyanov (VMware), rostedt; +Cc: linux-trace-devel



On 5.02.20 г. 9:07 ч., Tzvetomir Stoyanov (VMware) wrote:
> Cmake uses wrong relative path while searching for
> development version of libtracefs: lib/trace-cmd,
> but the tracefs library is located at lib/tracefs
> 
> Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
> ---
>   kernel-shark/build/FindTraceCmd.cmake | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel-shark/build/FindTraceCmd.cmake b/kernel-shark/build/FindTraceCmd.cmake
> index f27fafe..c29b779 100644
> --- a/kernel-shark/build/FindTraceCmd.cmake
> +++ b/kernel-shark/build/FindTraceCmd.cmake
> @@ -43,7 +43,7 @@ find_library(TRACECMD_LIBRARY   NAMES  trace-cmd/libtracecmd.a
>                                          ${CMAKE_SOURCE_DIR}/../lib/
>                                   NO_DEFAULT_PATH)
>   
> -find_library(TRACEFS_LIBRARY    NAMES  trace-cmd/libtracefs.a
> +find_library(TRACEFS_LIBRARY    NAMES  tracefs/libtracefs.a
>                                   PATHS  $ENV{TRACE_CMD}/lib/
>                                          ${CMAKE_SOURCE_DIR}/../lib/
>                                   NO_DEFAULT_PATH)
> 

Hi Ceco,
Thanks for the fix!
Yordan

Fixes: 930ae46d9 (trace-cmd,kernel-shark: Introduce libtracefs library)
Reviewed-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05  7:07 [PATCH] kernel-shark: Fix search path for libtracefs Tzvetomir Stoyanov (VMware)
2020-02-17  8:50 ` Yordan Karadzhov (VMware)

Linux-Trace-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-trace-devel/0 linux-trace-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-trace-devel linux-trace-devel/ https://lore.kernel.org/linux-trace-devel \
		linux-trace-devel@vger.kernel.org
	public-inbox-index linux-trace-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-trace-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git