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 /COPYING.MIT | |
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 'COPYING.MIT')
0 files changed, 0 insertions, 0 deletions