diff options
author | Wentao Zhang <wentao.zhang@windriver.com> | 2023-12-25 02:41:20 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-12-29 08:50:51 -0800 |
commit | 497f2983d0305d7d6b80a0b1260232c186cf136b (patch) | |
tree | 900991ef078c78f350192cfddb3d46ec449a0006 /dynamic-layers | |
parent | 96cef7e6cfe46bd0e7a39c123cd9522f464545d3 (diff) | |
download | meta-clang-497f2983d0305d7d6b80a0b1260232c186cf136b.tar.gz |
bpftrace: Do not strip uprobe_test
"runtime:regression" in ptest gets the following FAILED:
| nm: ./testprogs/uprobe_test: no symbols
Keep the debug info of uprobe_test to pass this ptest item.
the steps to repruduce:
$export BPFTRACE_RUNTIME_TEST_EXECUTABLE=/usr/bin
$cd /usr/lib/bpftrace/ptest/tests
$python3 runtime/engine/main.py --filter="regression.*"
***
| [ FAILED ] regression.address_probe_invalid_expansion
| Command: /usr/bin/bpftrace -e "uprobe:./testprogs/uprobe_test:0x$
| (nm ./testprogs/uprobe_test | awk '$3 == "function1"
| {print $1}') { @[probe] = count(); exit() }"
| Unclean exit code: 1
| Output: nm: ./testprogs/uprobe_test: no symbols\nNo probes to attach\n
***
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
Diffstat (limited to 'dynamic-layers')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb index e560112..8aa8a29 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/bpftrace/bpftrace_0.18.0.bb | |||
@@ -57,3 +57,7 @@ EXTRA_OECMAKE = " \ | |||
57 | 57 | ||
58 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux" | 58 | COMPATIBLE_HOST = "(x86_64.*|aarch64.*|powerpc64.*|riscv64.*)-linux" |
59 | COMPATIBLE_HOST:libc-musl = "null" | 59 | COMPATIBLE_HOST:libc-musl = "null" |
60 | |||
61 | INHIBIT_PACKAGE_STRIP_FILES += "\ | ||
62 | ${PKGD}${PTEST_PATH}/tests/testprogs/uprobe_test \ | ||
63 | " | ||