From: Serhei Makarov Date: Fri, 18 Oct 2024 21:06:22 +0000 (-0400) Subject: README.eu-stacktrace: note env LD_LIBRARY_PATH may be needed X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fad8a0380f8af51f2cacc87d7de8e45d4b5eb84c;p=thirdparty%2Felfutils.git README.eu-stacktrace: note env LD_LIBRARY_PATH may be needed --- diff --git a/README.eu-stacktrace b/README.eu-stacktrace index c36d67b0..230308f8 100644 --- a/README.eu-stacktrace +++ b/README.eu-stacktrace @@ -47,9 +47,12 @@ Example build sequence: Invoke eu-stacktrace manually with a fifo: mkfifo /tmp/test.fifo - sudo /opt/elfutils/bin/eu-stacktrace test.syscap & + sudo env LD_LIBRARY_PATH=/opt/elfutils/lib:$LD_LIBRARY_PATH /opt/elfutils/bin/eu-stacktrace test.syscap & /opt/elfutils/bin/sysprof-cli --sample-method=stack --use-fifo=/tmp/test.fifo test.syscap +(Note 'env LD_LIBRARY_PATH=...' is not needed if elfutils 0.192+ has +been installed systemwide.) + Then invoke sysprof with eu-stacktrace: sudo /opt/elfutils/bin/sysprof-cli --use-stacktrace --stacktrace-path=/opt/elfutils/bin/eu-stacktrace