diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc index 8d647fb572dd..41128219231a 100644 --- a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc +++ b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-synthetic-event-createremove.tc | |||
| @@ -25,18 +25,18 @@ fi | |||
| 25 | 25 | ||
| 26 | reset_trigger | 26 | reset_trigger |
| 27 | 27 | ||
| 28 | echo "Test create synthetic event with an error" | 28 | echo "Test remove synthetic event" |
| 29 | echo 'wakeup_latency u64 lat pid_t pid char' > synthetic_events > /dev/null | 29 | echo '!wakeup_latency u64 lat pid_t pid char comm[16]' >> synthetic_events |
| 30 | if [ -d events/synthetic/wakeup_latency ]; then | 30 | if [ -d events/synthetic/wakeup_latency ]; then |
| 31 | fail "Created wakeup_latency synthetic event with an invalid format" | 31 | fail "Failed to delete wakeup_latency synthetic event" |
| 32 | fi | 32 | fi |
| 33 | 33 | ||
| 34 | reset_trigger | 34 | reset_trigger |
| 35 | 35 | ||
| 36 | echo "Test remove synthetic event" | 36 | echo "Test create synthetic event with an error" |
| 37 | echo '!wakeup_latency u64 lat pid_t pid char comm[16]' > synthetic_events | 37 | echo 'wakeup_latency u64 lat pid_t pid char' > synthetic_events > /dev/null |
| 38 | if [ -d events/synthetic/wakeup_latency ]; then | 38 | if [ -d events/synthetic/wakeup_latency ]; then |
| 39 | fail "Failed to delete wakeup_latency synthetic event" | 39 | fail "Created wakeup_latency synthetic event with an invalid format" |
| 40 | fi | 40 | fi |
| 41 | 41 | ||
| 42 | exit 0 | 42 | exit 0 |
