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
index f5e3f9e..c817158 100644 (file)
@@ -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