Re: [PATCH 0/6] tools/lib/traceevent: Man page updates and some file movement

Arnaldo Carvalho de Melo
2019-09-23T14:52:57Z

Em Mon, Sep 23, 2019 at 11:39:27AM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Mon, Sep 23, 2019 at 11:28:39AM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Thu, Sep 19, 2019 at 05:23:35PM -0400, Steven Rostedt escreveu:
> > > Hi Arnaldo,
> > >
> > > This is a series of man page updates to the libtraceevent code, as
> > > well as a fix to one missing prototype and some movement of the location
> > > of the plugins (to have the plugins in their own directory).
>
> > Thanks, applied.
>
> Its breaking the build on Ubuntu 19.04 cross building to aarch64, I'll
> see if I can fix it:

Makefiles really suck, so I'm removing this one till we get this sorted
out:

"Move traceevent plugins in its own subdirectory"

Ok?

- Arnaldo

> perfbuilder@9660e1237188:~$ m
> make: Entering directory '/git/perf/tools/perf'
> BUILD: Doing 'make -j8' parallel build
> sh: 1: command: Illegal option -c
>
> Auto-detecting system features:
> ... dwarf: [ on ]
> ... dwarf_getlocations: [ on ]
> ... glibc: [ on ]
> ... gtk2: [ OFF ]
> ... libaudit: [ OFF ]
> ... libbfd: [ OFF ]
> ... libcap: [ OFF ]
> ... libelf: [ on ]
> ... libnuma: [ OFF ]
> ... numa_num_possible_cpus: [ OFF ]
> ... libperl: [ OFF ]
> ... libpython: [ OFF ]
> ... libcrypto: [ OFF ]
> ... libunwind: [ OFF ]
> ... libdw-dwarf-unwind: [ on ]
> ... zlib: [ on ]
> ... lzma: [ OFF ]
> ... get_cpuid: [ OFF ]
> ... bpf: [ on ]
> ... libaio: [ on ]
> ... libzstd: [ OFF ]
> ... disassembler-four-args: [ OFF ]
>
> Makefile.config:497: No sys/sdt.h found, no SDT events are defined, please install systemtap-sdt-devel or systemtap-sdt-dev
> Makefile.config:545: No libunwind found. Please install libunwind-dev[el] >= 1.1 and/or set LIBUNWIND_DIR
> Makefile.config:637: No libcrypto.h found, disables jitted code injection, please install openssl-devel or libssl-dev
> Makefile.config:653: slang not found, disables TUI support. Please install slang-devel, libslang-dev or libslang2-dev
> Makefile.config:670: GTK2 not found, disables GTK2 support. Please install gtk2-devel or libgtk2.0-dev
> Makefile.config:697: Missing perl devel files. Disabling perl scripting support, please install perl-ExtUtils-Embed/libperl-dev
> Makefile.config:724: No python interpreter was found: disables Python support - please install python-devel/python-dev
> Makefile.config:782: No bfd.h/libbfd found, please install binutils-dev[el]/zlib-static/libiberty-dev to gain symbol demangling
> Makefile.config:813: No liblzma found, disables xz kernel module decompression, please install xz-devel/liblzma-dev
> Makefile.config:826: No libzstd found, disables trace compression, please install libzstd-dev[el] and/or set LIBZSTD_DIR
> Makefile.config:837: No libcap found, disables capability support, please install libcap-devel/libcap-dev
> Makefile.config:850: No numa.h found, disables 'perf bench numa mem' benchmark, please install numactl-devel/libnuma-devel/libnuma-dev
> Makefile.config:905: No libbabeltrace found, disables 'perf data' CTF format support, please install libbabeltrace-dev[el]/libbabeltrace-ctf-dev
> Makefile.config:931: No alternatives command found, you need to set JDIR= to point to the root of your Java directory
> DESCEND plugins
> make[3]: *** No rule to make target '/tmp/build/perf/libtraceevent-dynamic-list'. Stop.
> make[2]: *** [Makefile.perf:740: /tmp/build/perf/libtraceevent-dynamic-list] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[1]: *** [Makefile.perf:221: sub-make] Error 2
> make: *** [Makefile:70: all] Error 2
> make: Leaving directory '/git/perf/tools/perf'
> perfbuilder@9660e1237188:~$ export
> declare -x ARCH="arm64"
> declare -x CROSS_COMPILE="aarch64-linux-gnu-"
> declare -x EXTRA_MAKE_ARGS="CORESIGHT=1"
> declare -x HOME="/home/perfbuilder"
> declare -x HOSTNAME="9660e1237188"
> declare -x OLDPWD="/"
> declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
> declare -x PWD="/home/perfbuilder"
> declare -x SHLVL="1"
> declare -x TARGET="aarch64-linux-gnu"
> declare -x TERM="xterm"
> declare -x container="podman"
> perfbuilder@9660e1237188:~$
>
>

--

- Arnaldo