staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git] / tools / testing / selftests / ftrace / test.d / event / trace_printk.tc
blobb02550b42be98e9bc559fbac7b813c5adf0e1b7e
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
3 # description: Test trace_printk from module
5 rmmod trace-printk ||:
6 if ! modprobe trace-printk ; then
7 echo "No trace-printk sample module - please make CONFIG_SAMPLE_TRACE_PRINTK=m"
8 exit_unresolved;
9 fi
11 echo "Waiting for irq work"
12 sleep 1
14 grep -q ": This .* trace_bputs" trace
15 grep -q ": This .* trace_puts" trace
16 grep -q ": This .* trace_bprintk" trace
17 grep -q ": This .* trace_printk" trace
19 grep -q ": (irq) .* trace_bputs" trace
20 grep -q ": (irq) .* trace_puts" trace
21 grep -q ": (irq) .* trace_bprintk" trace
22 grep -q ": (irq) .* trace_printk" trace
24 grep -q "This is a %s that will use trace_bprintk" printk_formats
25 grep -q "(irq) This is a static string that will use trace_bputs" printk_formats
27 rmmod trace-printk ||: