Patch "perf build: Add missing comment about NO_LIBTRACEEVENT=1" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    perf build: Add missing comment about NO_LIBTRACEEVENT=1

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     perf-build-add-missing-comment-about-no_libtraceeven.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2ca4fd9f8794f44d3e48974606508c35a9709a79
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Date:   Thu Oct 5 10:46:26 2023 -0300

    perf build: Add missing comment about NO_LIBTRACEEVENT=1
    
    [ Upstream commit c1783ddfb62420c44cdf4672dad2046f056c624b ]
    
    By default perf will fail the build if the development files for
    libtraceevent are not available.
    
    To build perf without libtraceevent support, disabling several features
    such as 'perf trace', one needs to add NO_LIBTRACEVENT=1 to the make
    command line.
    
    Add the missing comments about that to the tools/perf/Makefile.perf
    file, just like all the other such command line toggles.
    
    Fixes: 378ef0f5d9d7f465 ("perf build: Use libtraceevent from the system")
    Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
    Reviewed-by: Ian Rogers <irogers@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/ZR6+MhXtLnv6ow6E@xxxxxxxxxx
    Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 37af6df7b978d..86569f230e60d 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -69,6 +69,10 @@ include ../scripts/utilities.mak
 # Define NO_LIBDW_DWARF_UNWIND if you do not want libdw support
 # for dwarf backtrace post unwind.
 #
+# Define NO_LIBTRACEEVENT=1 if you don't want libtraceevent to be linked,
+# this will remove multiple features and tools, such as 'perf trace',
+# that need it to read tracefs event format files, etc.
+#
 # Define NO_PERF_READ_VDSO32 if you do not want to build perf-read-vdso32
 # for reading the 32-bit compatibility VDSO in 64-bit mode
 #



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux