<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/ftrace, branch linux-4.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2018-10-30T16:47:28Z</updated>
<entry>
<title>Merge tag 'trace-v4.19-rc8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace</title>
<updated>2018-10-30T16:47:28Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2018-10-30T16:47:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4267b3604a84ff72c013a0e3e467289908603a6'/>
<id>urn:sha1:f4267b3604a84ff72c013a0e3e467289908603a6</id>
<content type='text'>
Pull tracing fixes from Steven Rostedt:
 "Masami had a couple more fixes to the synthetic events. One was a
  proper error return value, and the other is for the self tests"

* tag 'trace-v4.19-rc8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  selftests/ftrace: Fix synthetic event test to delete event correctly
  tracing: Return -ENOENT if there is no target synthetic event
</content>
</entry>
<entry>
<title>selftests/ftrace: Fix synthetic event test to delete event correctly</title>
<updated>2018-10-28T19:14:55Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-10-21T15:08:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0d0352d8b3d6d7ca9a710b40e194cbbaeb841c88'/>
<id>urn:sha1:0d0352d8b3d6d7ca9a710b40e194cbbaeb841c88</id>
<content type='text'>
Fix the synthetic event test case to remove event correctly.
If redirecting command to synthetic_event file without append
mode, it cleans up all existing events and execute (parse) the
command. This means "delete event" always fails to find the
target event.

Since previous synthetic event has a bug which doesn't return
-ENOENT even if it fails to find the deleting event, this test
passed. But fixing that bug, this test fails because this test
itself has a bug.

This fixes that bug by trying to delete event right after
adding an event, and use append mode redirection ('&gt;&gt;') instead
of normal redirection ('&gt;').

Link: http://lkml.kernel.org/r/154013452832.25576.2305459545429386517.stgit@devbox

Acked-by: Shuah Khan &lt;shuah@kernel.org&gt;
Acked-by: Tom Zanussi &lt;zanussi@linux.intel.com&gt;
Tested-by: Tom Zanussi &lt;zanussi@linux.intel.com&gt;
Cc: Tom Zanussi &lt;zanussi@kernel.org&gt;
Cc: Tom Zanussi &lt;tom.zanussi@linux.intel.com&gt;
Cc: Rajvi Jingar &lt;rajvi.jingar@intel.com&gt;
Cc: Shuah Khan &lt;shuah@kernel.org&gt;
Cc: stable@vger.kernel.org
Fixes: f06eec4d0f2c ('selftests: ftrace: Add inter-event hist triggers testcases')
Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Strip escape sequences for log file</title>
<updated>2018-10-24T20:49:37Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-10-17T03:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f73581f8d9a367459f36e6a4ef0065997ab14c75'/>
<id>urn:sha1:f73581f8d9a367459f36e6a4ef0065997ab14c75</id>
<content type='text'>
Strip escape sequences from the stream to the ftracetest
summary log file. Note that all test-case results are
dumped raw in each file.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Acked-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Use colored output when available</title>
<updated>2018-10-24T20:49:37Z</updated>
<author>
<name>Daniel Díaz</name>
</author>
<published>2018-10-16T17:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8096fbcf55c0da535bdca9adab982ec0c5affb67'/>
<id>urn:sha1:8096fbcf55c0da535bdca9adab982ec0c5affb67</id>
<content type='text'>
If test is being directly executed (with stdout opened on the
terminal) and the terminal capabilities indicate enough
colors, then use the existing scheme of green, red, and blue
to show when tests pass, fail or end in a different way.

When running the tests redirecting the stdout, for instance,
to a file, then colors are not shown, thus producing a more
readable output.

Signed-off-by: Daniel Díaz &lt;daniel.diaz@linaro.org&gt;
Acked-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Add color to the PASS / FAIL results</title>
<updated>2018-10-24T20:49:37Z</updated>
<author>
<name>Steven Rostedt (VMware)</name>
</author>
<published>2018-10-13T02:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f381ac4d3210025891c5397e744fd4c771481d7'/>
<id>urn:sha1:8f381ac4d3210025891c5397e744fd4c771481d7</id>
<content type='text'>
Now that ftracetest has over 80 tests, it is difficult to simply scroll
up the console window to find the failed tests when it reports just two
tests have failed. In order to make this stand out better, have the
color of the word "PASS" be green, "FAIL" and "XFAIL" be red, and all
other results be blue. This helps tremendously in quickly spotting the
failed tests by just scrolling up the console window.

Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Add ftrace cpumask testcase</title>
<updated>2018-10-24T20:49:36Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-08-30T14:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ffade754bdf8350f63792c6125346d77f975b41'/>
<id>urn:sha1:8ffade754bdf8350f63792c6125346d77f975b41</id>
<content type='text'>
Add a testcase for tracing_cpumask with function tracer.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Add wakeup_rt tracer testcase</title>
<updated>2018-10-24T20:49:36Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-08-30T14:25:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c575dea2c1a50306d382615fad06767564734e0b'/>
<id>urn:sha1:c575dea2c1a50306d382615fad06767564734e0b</id>
<content type='text'>
Add a testcase for wakeup_rt tracer. This requires chrt
command to test.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Add wakeup tracer testcase</title>
<updated>2018-10-24T20:49:36Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-08-30T14:24:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1edd060b41383bb6fa76008aacf4b0b3b1c46e7'/>
<id>urn:sha1:c1edd060b41383bb6fa76008aacf4b0b3b1c46e7</id>
<content type='text'>
Add a testcase for wakeup tracer.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Add stacktrace ftrace filter command testcase</title>
<updated>2018-10-24T20:49:36Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-08-30T14:24:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91ae08a265142d9378f7d972e00de29d5c91a2de'/>
<id>urn:sha1:91ae08a265142d9378f7d972e00de29d5c91a2de</id>
<content type='text'>
Add a test case for stacktrace filter command for ftrace.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests/ftrace: Add trace_pipe testcase</title>
<updated>2018-10-24T20:49:36Z</updated>
<author>
<name>Masami Hiramatsu</name>
</author>
<published>2018-08-30T14:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=174fd823397a2f19905a20bbcf47907e30e58444'/>
<id>urn:sha1:174fd823397a2f19905a20bbcf47907e30e58444</id>
<content type='text'>
Add a simple testcase for trace_pipe which can consume
ringbuffer.

Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;
Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;
</content>
</entry>
</feed>
