Skip to content

trace-cmd: Clean ups to the Makefile for using external libraries

Steven Rostedt linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13trace-cmd: Add missing SPDX headersfeatures.mk include/linux/time64.h lib/trace-cmd/Makefile +11 more+17 -30 replies
2/13trace-cmd: Allow overriding of pkg-configMakefile+11 -100 replies
3/13trace-cmd: Use $(LIBTRACECMD_STATIC) instead of open coding in Makefilelib/trace-cmd/Makefile+2 -20 replies
4/13trace-cmd: Add versioning to libtracecmd.soMakefile lib/trace-cmd/Makefile+29 -40 replies
5/13trace-cmd: Add pkg-config configuration for libtracecmd.soMakefile libtracecmd.pc.template scripts/utils.mk+40 -20 replies
6/13trace-cmd: Clean up the Makefiles a littleMakefile lib/trace-cmd/Makefile+8 -90 replies
7/13trace-cmd: Remove making of ld.so.conf.d/trace.confMakefile scripts/utils.mk+0 -140 replies
8/13trace-cmd: Install libtracecmd in the proper lib directoryMakefile+10 -20 replies
9/13trace-cmd: Move the installing of libtracecmd to the lib/trace-cmd MakefileMakefile lib/trace-cmd/Makefile+6 -30 replies
10/13trace-cmd: Install the soft links for libtracecmd.solib/trace-cmd/Makefile+2 -00 replies
11/13trace-cmd: Do not install libtracefs nor libtraceevent librariesMakefile+1 -120 replies
12/13trace-cmd: Do not build shared libraries for libtracefs and libtraceeventMakefile lib/traceevent/Makefile lib/tracefs/Makefile+3 -200 replies
13/13trace-cmd: Add warning if libtracefs or libtraceevent are not foundMakefile lib/traceevent/Makefile lib/tracefs/Makefile+29 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/13] trace-cmd: Clean ups to the Makefile for using external libraries

Now that libtraceevent and libtracefs are in their separate repositories, clean up the Makefiles for trace-cmd a bit, and even let the builder know that libtraceevent and libtracefs are separate and where to find them.

Steven Rostedt (VMware) (13):
trace-cmd: Add missing SPDX headers
trace-cmd: Allow overriding of pkg-config
trace-cmd: Use $(LIBTRACECMD_STATIC) instead of open coding in Makefile
trace-cmd: Add versioning to libtracecmd.so
trace-cmd: Add pkg-config configuration for libtracecmd.so
trace-cmd: Clean up the Makefiles a little
trace-cmd: Remove making of ld.so.conf.d/trace.conf
trace-cmd: Install libtracecmd in the proper lib directory
trace-cmd: Move the installing of libtracecmd to the lib/trace-cmd Makefile
trace-cmd: Install the soft links for libtracecmd.so
trace-cmd: Do not install libtracefs nor libtraceevent libraries
trace-cmd: Do not build shared libraries for libtracefs and libtraceevent
trace-cmd: Add warning if libtracefs or libtraceevent are not found

----

 Makefile                                      | 119 +++++++++++++++-----------
 features.mk                                   |   1 +
 include/linux/time64.h                        |   2 +
 lib/trace-cmd/Makefile                        |  27 ++++--
 lib/trace-cmd/include/private/trace-msg.h     |   1 +
 lib/traceevent/Makefile                       |  19 +++-
 lib/traceevent/plugins/Makefile               |   2 +
 lib/traceevent/plugins/plugin_python_loader.c |   1 +
 lib/tracefs/Makefile                          |  20 +++--
 libtracecmd.pc.template                       |  10 +++
 python/Makefile                               |   2 +
 scripts/utils.mk                              |  13 ++-
 tracecmd/Makefile                             |   1 +
 tracecmd/include/bug.h                        |   1 +
 tracecmd/trace-usage.c                        |   1 +
 utest/Makefile                                |   1 +
 16 files changed, 148 insertions(+), 73 deletions(-)
 create mode 100644 libtracecmd.pc.template