From fad8a0380f8af51f2cacc87d7de8e45d4b5eb84c Mon Sep 17 00:00:00 2001 From: Serhei Makarov Date: Fri, 18 Oct 2024 17:06:22 -0400 Subject: [PATCH] README.eu-stacktrace: note env LD_LIBRARY_PATH may be needed --- README.eu-stacktrace | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.47.2