projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'trace-probes-v6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[platform/kernel/linux-rpi.git]
/
tools
/
testing
/
selftests
/
ftrace
/
test.d
/
kprobe
/
uprobe_syntax_errors.tc
diff --git
a/tools/testing/selftests/ftrace/test.d/kprobe/uprobe_syntax_errors.tc
b/tools/testing/selftests/ftrace/test.d/kprobe/uprobe_syntax_errors.tc
index
f5e3f9e
..
c817158
100644
(file)
--- a/
tools/testing/selftests/ftrace/test.d/kprobe/uprobe_syntax_errors.tc
+++ b/
tools/testing/selftests/ftrace/test.d/kprobe/uprobe_syntax_errors.tc
@@
-23,4
+23,9
@@
check_error 'p /bin/sh:10^%hoge' # BAD_ADDR_SUFFIX
check_error 'p /bin/sh:10(10)^%return' # BAD_REFCNT_SUFFIX
fi
+# symstr is not supported by uprobe
+if grep -q ".*symstr.*" README; then
+check_error 'p /bin/sh:10 $stack0:^symstr' # BAD_TYPE
+fi
+
exit 0