<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in functions</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>4a3134b1 - selftests/tracing: Test only toplevel README file not the instances</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#4a3134b1</link>
        <description>selftests/tracing: Test only toplevel README file not the instancesFor the tests that have both a README attribute as well as the instanceflag to run the tests as an instance, the instance version will alwaysexit with UNSUPPORTED. That&apos;s because the instance directory does notcontain a README file. Currently, the tests check for a README file in thedirectory that the test runs in and if there&apos;s a requirement for somethingto be present in the README file, it will not find it, as the instancedirectory doesn&apos;t have it.Have the tests check if the current directory is an instance directory,and if it is, check two directories above the current directory for theREADME file:  /sys/kernel/tracing/README  /sys/kernel/tracing/instances/foo/../../READMELink: https://lore.kernel.org/r/20250220185846.130216270@goodmis.orgSigned-off-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Thu, 20 Feb 2025 18:58:00 +0000</pubDate>
        <dc:creator>Steven Rostedt &lt;rostedt@goodmis.org&gt;</dc:creator>
    </item>
<item>
        <title>8b55572e - tracing/selftests: Add tracefs mount options test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#8b55572e</link>
        <description>tracing/selftests: Add tracefs mount options testAdd a selftest to check that the tracefs gid mount option is appliedcorrectly.   ./ftracetest test.d/00basic/mount_options.tcUse the new readme string &quot;[gid=&lt;gid&gt;] as a requirement and also updatetest_ownership.tc requirements to use this.Cc: Eric Sandeen &lt;sandeen@redhat.com&gt;Cc: Mathieu Desnoyers &lt;mathieu.desnoyers@efficios.com&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Ali Zahraee &lt;ahzahraee@gmail.com&gt;Cc: Christian Brauner &lt;brauner@kernel.org&gt;Cc: David Howells &lt;dhowells@redhat.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Link: https://lore.kernel.org/20241030171928.4168869-4-kaleshsingh@google.comSigned-off-by: Kalesh Singh &lt;kaleshsingh@google.com&gt;Signed-off-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 30 Oct 2024 17:17:50 +0000</pubDate>
        <dc:creator>Kalesh Singh &lt;kaleshsingh@google.com&gt;</dc:creator>
    </item>
<item>
        <title>4aa4d4de - selftests/ftrace: Add check for ping command for trigger tests</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#4aa4d4de</link>
        <description>selftests/ftrace: Add check for ping command for trigger testsAll these tests depend on the ping command and will fail if it is notfound. Allow tests to specify dependencies on programs through the&apos;requires&apos; field. Add dependency on &apos;ping&apos; for some of the triggertests.Link: https://lore.kernel.org/all/20221017104312.16af5467@gandalf.local.home/Reported-by: Akanksha J N &lt;akanksha@linux.vnet.ibm.com&gt;Acked-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Suggested-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;Reviewed-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;Signed-off-by: Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Fri, 28 Oct 2022 07:16:09 +0000</pubDate>
        <dc:creator>Naveen N. Rao &lt;naveen.n.rao@linux.vnet.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>25b95138 - selftests/ftrace: Stop tracing while reading the trace file by default</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#25b95138</link>
        <description>selftests/ftrace: Stop tracing while reading the trace file by defaultStop tracing while reading the trace file by default, to preventthe test results while checking it and to avoid taking a long timeto check the result.If there is any testcase which wants to test the tracing while readingthe trace file, please override this setting inside the test case.This also recovers the pause-on-trace when clean it up.Link: https://lkml.kernel.org/r/163529053143.690749.15365238954175942026.stgit@devnote2Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Tue, 26 Oct 2021 23:22:11 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>210f9df0 - selftests/ftrace: Fix requirement check of README file</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#210f9df0</link>
        <description>selftests/ftrace: Fix requirement check of README fileThe selftest for ftrace checks some features by checking if the README hastext that states the feature is supported by that kernel. Unfortunately,this check gives false positives because it many not be checked if there&apos;sspaces in the string to check. This is due to the compare between therequired variable with the &quot;:README&quot; string stripped, because neither hasquotes around them.Link: https://lkml.kernel.org/r/20210820204742.087177341@goodmis.orgCc: &quot;Tzvetomir Stoyanov&quot; &lt;tz.stoyanov@gmail.com&gt;Cc: Tom Zanussi &lt;zanussi@kernel.org&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Shuah Khan &lt;skhan@linuxfoundation.org&gt;Cc: linux-kselftest@vger.kernel.orgCc: stable@vger.kernel.orgFixes: 1b8eec510ba64 (&quot;selftests/ftrace: Support &quot;:README&quot; suffix for requires&quot;)Acked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Fri, 20 Aug 2021 20:46:47 +0000</pubDate>
        <dc:creator>Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;</dc:creator>
    </item>
<item>
        <title>aaac2820 - selftests/ftrace: Add clear_dynamic_events() to test cases</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#aaac2820</link>
        <description>selftests/ftrace: Add clear_dynamic_events() to test casesAdd a function to remove all dynamic events from the tracing directory. Itrequires a loop as some of the dynamic events may depend on others beingremoved first. Also add a safety that prevents it from looping infinitelydue to a bug where an event never gets removed.Link: https://lkml.kernel.org/r/20210819152825.348941368@goodmis.orgCc: &quot;Tzvetomir Stoyanov&quot; &lt;tz.stoyanov@gmail.com&gt;Cc: Tom Zanussi &lt;zanussi@kernel.org&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Shuah Khan &lt;skhan@linuxfoundation.org&gt;Cc: linux-kselftest@vger.kernel.orgAcked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Thu, 19 Aug 2021 15:26:07 +0000</pubDate>
        <dc:creator>Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;</dc:creator>
    </item>
<item>
        <title>dc6bf4da - selftests/ftrace: Use $FUNCTION_FORK to reference kernel fork function</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#dc6bf4da</link>
        <description>selftests/ftrace: Use $FUNCTION_FORK to reference kernel fork functionCommit cad6967ac108 (&quot;fork: introduce kernel_clone()&quot;) replaced &quot;_do_fork()&quot;with &quot;kernel_clone()&quot;. The ftrace selftests reference the fork function inseveral of the tests. The rename will make the tests break, but if thosenames are changed in the tests, they would then break on older kernels. Thesame set of tests should pass older kernels if they have previously passed.Obviously, a new test may not work on older kernels if the test was addeddue to a bug or a new feature.The setup of ftracetest will now create a $FUNCTION_FORK bash variablethat will contain &quot;_do_fork&quot; for older kernels and &quot;kernel_clone&quot; for newerones. It figures out the proper name by examining /proc/kallsyms.Note, available_filter_functions could also be used, but because some testsshould be able to pass without function tracing enabled, it could not beused.Fixes: eea11285dab3 (&quot;tracing: switch to kernel_clone()&quot;)Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;Acked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Mon, 26 Oct 2020 20:20:32 +0000</pubDate>
        <dc:creator>Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;</dc:creator>
    </item>
<item>
        <title>1b8eec51 - selftests/ftrace: Support &quot;:README&quot; suffix for requires</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#1b8eec51</link>
        <description>selftests/ftrace: Support &quot;:README&quot; suffix for requiresAdd &quot;:README&quot; suffix support for the requires list, so thatthe testcase can list up the required string for README fileto the requires list.Note that the required string is treated as a fixed string,instead of regular expression. Also, the testcase can specifya string containing spaces with quotes. E.g.# requires: &quot;place: [&lt;module&gt;:]&lt;symbol&gt;&quot;:READMESigned-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Reviewed-by: Tom Zanussi &lt;zanussi@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 03 Jun 2020 02:41:09 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>305c8388 - selftests/ftrace: Support &quot;:tracer&quot; suffix for requires</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#305c8388</link>
        <description>selftests/ftrace: Support &quot;:tracer&quot; suffix for requiresAdd &quot;:tracer&quot; suffix support for the requires list, so thatthe testcase can list up the required tracer (e.g. function)to the requires list.For example, if the testcase requires function_graph tracer,it can write requires list as below instead of checkingavailable_tracers.# requires: function_graph:tracerSigned-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Reviewed-by: Tom Zanussi &lt;zanussi@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 03 Jun 2020 02:40:59 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>74e60728 - selftests/ftrace: Convert check_filter_file() with requires list</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#74e60728</link>
        <description>selftests/ftrace: Convert check_filter_file() with requires listSince check_filter_file() is basically checking the filtertracefs file, we can convert it into requires list.Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Reviewed-by: Tom Zanussi &lt;zanussi@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 03 Jun 2020 02:40:49 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>fa33e623 - selftests/ftrace: Add &quot;requires:&quot; list support</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#fa33e623</link>
        <description>selftests/ftrace: Add &quot;requires:&quot; list supportIntroduce &quot;requires:&quot; list to check required ftrace interfacefor each test. This will simplify the interface checking codeand unify the error message. Another good point is, it canskip the ftrace initializing.Note that this requires list must be written as a shellcomment.Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Reviewed-by: Tom Zanussi &lt;zanussi@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 03 Jun 2020 02:40:28 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>8e923a21 - selftests/ftrace: Use printf for backslash included command</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#8e923a21</link>
        <description>selftests/ftrace: Use printf for backslash included commandSince the built-in echo has different behavior in POSIX shell(dash) and bash, kprobe_syntax_errors.tc can fail on dash whichinterpret backslash escape automatically.To fix this issue, we explicitly use printf &quot;%s&quot; (not interpretbackslash escapes) if the command string can include backslash.Reported-by: Liu Yiding &lt;yidingx.liu@intel.com&gt;Suggested-by: Xiao Yang &lt;yangx.jy@cn.fujitsu.com&gt;Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Mon, 11 May 2020 13:36:27 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>16bcd0f5 - selftests/ftrace: Check required filter files before running test</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#16bcd0f5</link>
        <description>selftests/ftrace: Check required filter files before running testWithout CONFIG_DYNAMIC_FTRACE, some tests get failure because requiredfilter files(set_ftrace_filter/available_filter_functions/stack_trace_filter)are missing.  So implement check_filter_file() and make all related testscheck required filter files by it.BTW: set_ftrace_filter and available_filter_functions are introduced togetherso just check either of them.Signed-off-by: Xiao Yang &lt;yangx.jy@cn.fujitsu.com&gt;Acked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 22 Apr 2020 09:58:07 +0000</pubDate>
        <dc:creator>Xiao Yang &lt;yangx.jy@cn.fujitsu.com&gt;</dc:creator>
    </item>
<item>
        <title>fd1baf6c - selftests/ftrace: Fix to check the existence of set_ftrace_filter</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#fd1baf6c</link>
        <description>selftests/ftrace: Fix to check the existence of set_ftrace_filterIf we run ftracetest on the kernel with CONFIG_DYNAMIC_FTRACE=n,there is no set_ftrace_filter and all test cases are failed, becausereset_ftrace_filter() returns an error.Let&apos;s check whether set_ftrace_filter exists in reset_ftrace_filter()and clean up only set_ftrace_notrace in initialize_ftrace().Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Reviewed-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;Signed-off-by: Shuah Khan &lt;skhan@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Tue, 26 Nov 2019 08:34:16 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>7f5291da - selftests/ftrace: Add syntax error test for multiprobe</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#7f5291da</link>
        <description>selftests/ftrace: Add syntax error test for multiprobeAdd syntax error test cases for multiprobe appendingerrors.Link: http://lkml.kernel.org/r/156095694541.28024.11918630805148623119.stgit@devnote2Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 19 Jun 2019 15:09:05 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>6e55f320 - ftrace/selftest: Test if set_event/ftrace_pid exists before writing</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#6e55f320</link>
        <description>ftrace/selftest: Test if set_event/ftrace_pid exists before writingWhile testing on a very old kernel (3.5), the tests failed because the writeto set_event_pid in the setup code, did not exist. The tests themselvescould pass, but the setup failed causing an error.Other files test for existance before writing to them. Do the same forset_event_pid and set_ftrace_pid.Acked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Wed, 03 Jul 2019 19:46:08 +0000</pubDate>
        <dc:creator>Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;</dc:creator>
    </item>
<item>
        <title>c5e4114f - selftests/ftrace: Move kprobe/uprobe check_error() to test.d/functions</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#c5e4114f</link>
        <description>selftests/ftrace: Move kprobe/uprobe check_error() to test.d/functionsThe k/uprobe_sytax_errors test case defines a check_error() functionused to run a command and check the position of the caret in theoutput.This would be useful for other ftrace facilities too, so move it totest.d/functions for use by anyone.  In the process, rename it toftrace_errlog_check() and parametrize it for general use.Link: http://lkml.kernel.org/r/9f88080a06f1755811f69081926afe7e5cb53178.1554072478.git.tom.zanussi@linux.intel.comAcked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Tom Zanussi &lt;tom.zanussi@linux.intel.com&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Sun, 31 Mar 2019 23:48:21 +0000</pubDate>
        <dc:creator>Tom Zanussi &lt;tom.zanussi@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>cec3adf5 - selftests/ftrace: Use loopback address instead of localhost</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#cec3adf5</link>
        <description>selftests/ftrace: Use loopback address instead of localhostUse raw loopback address instead of localhost, because&quot;localhost&quot; can depend on nsswitch and in some casewe can not resolve the localhost.Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Shuah Khan (Samsung OSG) &lt;shuah@kernel.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Thu, 30 Aug 2018 14:17:10 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>7590472e - selftests/ftrace: More initialize features in initialize_ftrace</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#7590472e</link>
        <description>selftests/ftrace: More initialize features in initialize_ftraceClear pid filter, synthetic_events, snapshots,ftrace filter, and trace log in initialize_ftrace(),since those are used in test cases.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;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Thu, 30 Aug 2018 14:14:19 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>922a418d - ftrace/selftest: Fix reset_trigger() to handle triggers with filters</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/tools/testing/selftests/ftrace/test.d/functions#922a418d</link>
        <description>ftrace/selftest: Fix reset_trigger() to handle triggers with filtersThe reset_trigger() function breaks up the command by a space &apos; &apos;. This isuseful to ignore the &apos;[active]&apos; word for triggers when removing them. But ifthe trigger has a filter (ie. &quot;if prio &lt; 10&quot;) then the filter needs to beattached to the line that is written into the trigger file to remove it. Butthe truncation removes the filter and the triggers are not cleared properly.Before, reset_trigger() did this: # echo &apos;hist:keys=common_pid if prev_prio &lt; 10&apos; &gt; events/sched/sched_switch/trigger # echo &apos;hist:keys=common_pid if next_prio &lt; 10&apos; &gt;&gt; events/sched/sched_switch/trigger # cat events/sched/sched_switch/triggerhist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048 if prev_prio &lt; 10 [active]hist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048 if next_prio &lt; 10 [active] reset_trigger() {   echo &apos;!hist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048&apos; &gt;&gt; events/sched/sched_switch/trigger } # cat events/sched/sched_switch/triggerhist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048 if prev_prio &lt; 10 [active]hist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048 if next_prio &lt; 10 [active]After, where it includes the filter: reset_trigger() {   echo &apos;!hist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048 if prev_prio &lt; 10&apos; &gt;&gt; events/sched/sched_switch/trigger } # cat events/sched/sched_switch/triggerhist:keys=common_pid:vals=hitcount:sort=hitcount:size=2048 if next_prio &lt; 10 [active]Fixes: cfa0963dc474f (&quot;kselftests/ftrace : Add event trigger testcases&quot;)Acked-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Reviewed-by: Namhyung Kim &lt;namhyung@kernel.org&gt;Signed-off-by: Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/tools/testing/selftests/ftrace/test.d/functions</description>
        <pubDate>Mon, 14 May 2018 20:03:58 +0000</pubDate>
        <dc:creator>Steven Rostedt (VMware) &lt;rostedt@goodmis.org&gt;</dc:creator>
    </item>
</channel>
</rss>
