lkml.org 
[lkml]   [2018]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 6/6] selftests: ftrace: Fix extended error support testcase
Date
Hist trigger errors are now sent to tracing/events/error_log rather
than the individual event hist files - have the testcase reflect that.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
.../ftrace/test.d/trigger/inter-event/trigger-extended-error-support.tc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-extended-error-support.tc b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-extended-error-support.tc
index 786dce7..2fd10ee 100644
--- a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-extended-error-support.tc
+++ b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/trigger-extended-error-support.tc
@@ -30,7 +30,7 @@ do_reset
echo "Test extended error support"
echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' > events/sched/sched_wakeup/trigger
echo 'hist:keys=pid:ts0=common_timestamp.usecs if comm=="ping"' >> events/sched/sched_wakeup/trigger &>/dev/null
-if ! grep -q "ERROR:" events/sched/sched_wakeup/hist; then
+if ! grep -q "ERROR(" events/error_log; then
fail "Failed to generate extended error in histogram"
fi

--
1.9.3
\
 
 \ /
  Last update: 2018-04-12 17:15    [W:0.128 / U:3.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site