Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/ftrace: Remove trigger-extended-error-support testcase

Error handling has been moved to the common tracing/error_log, so this
test is no longer valid.

Link: http://lkml.kernel.org/r/876a98b21018814cbf46f0a3605ae0906c51d53c.1554072478.git.tom.zanussi@linux.intel.com

Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

authored by

Tom Zanussi and committed by
Steven Rostedt (VMware)
0ae8dde9 c5e4114f

-28
-28
tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-extended-error-support.tc
··· 1 - #!/bin/sh 2 - # SPDX-License-Identifier: GPL-2.0 3 - # description: event trigger - test extended error support 4 - 5 - 6 - fail() { #msg 7 - echo $1 8 - exit_fail 9 - } 10 - 11 - if [ ! -f set_event ]; then 12 - echo "event tracing is not supported" 13 - exit_unsupported 14 - fi 15 - 16 - if [ ! -f synthetic_events ]; then 17 - echo "synthetic event is not supported" 18 - exit_unsupported 19 - fi 20 - 21 - echo "Test extended error support" 22 - echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger 23 - ! echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger 2> /dev/null 24 - if ! grep -q "ERROR:" events/sched/sched_wakeup/hist; then 25 - fail "Failed to generate extended error in histogram" 26 - fi 27 - 28 - exit 0