* Build perf statically with all libunwind+dwaf for profiling userland process on constrained Linux box
@ 2014-07-25 19:13 Vincent Li
0 siblings, 0 replies; only message in thread
From: Vincent Li @ 2014-07-25 19:13 UTC (permalink / raw)
To: linux-kernel; +Cc: Michael S. Tsirkin, Ingo Molnar
Hi,
I am on Fedora 20 and trying to build a static perf with needed
library support, but it failed to detect the needed library, here is
the output
1, build dynamically detected the library ok
[vincent@localhost perf]$ make
BUILD: Doing 'make -j4' parallel build
config/Makefile:422: GTK2 not found, disables GTK2 support. Please
install gtk2-devel or libgtk2.0-dev
config/Makefile:586: No numa.h found, disables 'perf bench numa mem'
benchmark, please install numactl-devel/libnuma-devel/libnuma-dev
Auto-detecting system features:
... dwarf: [ on ]
... glibc: [ on ]
... gtk2: [ OFF ]
... libaudit: [ on ]
... libbfd: [ on ]
... libelf: [ on ]
... libnuma: [ OFF ]
... libperl: [ on ]
... libpython: [ on ]
... libslang: [ on ]
... libunwind: [ on ]
... libdw-dwarf-unwind: [ on ]
... DWARF post unwind library: libunwind
2, build statically failed to detect the library
[vincent@localhost perf]$ make LDFLAGS=-static
BUILD: Doing 'make -j4' parallel build
config/Makefile:294: No libelf found, disables 'probe' tool, please
install elfutils-libelf-devel/libelf-dev
config/Makefile:357: Disabling post unwind, no support found.
config/Makefile:395: No libaudit.h found, disables 'trace' tool,
please install audit-libs-devel or libaudit-dev
config/Makefile:409: slang not found, disables TUI support. Please
install slang-devel or libslang-dev
config/Makefile:422: GTK2 not found, disables GTK2 support. Please
install gtk2-devel or libgtk2.0-dev
config/Makefile:499: No Python.h (for Python 2.x) was found
config/Makefile:499: Python support will not be built
config/Makefile:586: No numa.h found, disables 'perf bench numa mem'
benchmark, please install numactl-devel/libnuma-devel/libnuma-dev
Auto-detecting system features:
... dwarf: [ OFF ]
... glibc: [ on ]
... gtk2: [ OFF ]
... libaudit: [ OFF ]
... libbfd: [ OFF ]
... libelf: [ OFF ]
... libnuma: [ OFF ]
... libperl: [ OFF ]
... libpython: [ OFF ]
... libslang: [ OFF ]
... libunwind: [ OFF ]
... libdw-dwarf-unwind: [ OFF ]
I have a constrained centos-like Linux system (not centos) that I
need to profile the userland process that is not compiled with GCC
option “-fno-omit-frame-pointer –ggdb”
https://bugzilla.redhat.com/show_bug.cgi?id=1025603.
it would be nice to be able to compile perf statically with needed
library support, could anyone share an idea how to resolve this?
sorry if this is not the right place to ask
Regards,
Vincent
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-07-25 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-25 19:13 Build perf statically with all libunwind+dwaf for profiling userland process on constrained Linux box Vincent Li
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.