Skip to content

Commit bc3d934

Browse files
committed
tests: dwarf: Remove negative test on caller frame
Since cfa7f3d2c526 ("perf,x86: avoid missing caller address in stack traces captured in uprobe") in the kernel, bpftrace will actually capture the caller frame. So delete the negative test.
1 parent 0aceac5 commit bc3d934

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/runtime/dwarf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ NAME uprobe without dwarf
7878
PROG config = { symbol_source = "symbol_table"; cache_user_symbols = "PER_PROGRAM"; }
7979
uprobe:./testprogs/uprobe_test:uprobeFunction1 { print(ustack); exit(); }
8080
EXPECT uprobeFunction1+0
81-
EXPECT_REGEX_NONE ^\s*main\+\d+$
8281
REQUIRES_FEATURE dwarf
8382
AFTER ./testprogs/uprobe_test
8483

0 commit comments

Comments
 (0)