<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in rv_monitors_test.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>55ee4b931a7ffedc886175d265dd6e6d08fd4151 - Merge tag &apos;trace-rv-v7.3&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace</title>
        <link>http://kernelsources.org:8080/source/history/linux/kernel/trace/rv/rv_monitors_test.c#55ee4b931a7ffedc886175d265dd6e6d08fd4151</link>
        <description>Merge tag &apos;trace-rv-v7.3&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-tracePull Real-time Verifier updates from Steven Rostedt: - Switch LTL and DOT parsers to Lark in code generation tool   The rvgen code generation tool originally parsed DOT files and LTL   specifications using custom string parsing and Ply, which is no   longer maintained. The DOT parser was fragile and prone to failure on   minor format variations. Both LTL and DOT parsers have been rewritten   to use the Lark parsing library. - Simplify Hybrid Automata clock variables   The clock variables in hybrid automata monitors now use a single   representation of the elapsed time since the clock was reset, rather   than converting between invariant and guard representations. This   allows simpler code generation for the newly refactored parser. - Generate cleanup hook for per-obj monitor   The code generation scripts now adds a cleanup function to per-obj   monitors for the user to wire to the appropriate event (e.g.   sched_process_exit for tasks). - Reduce read_lock scope during per-task cleanup   Take the tasklist_lock only when necessary, that is when iterating   over for_each_process_thread(). - Simplify task monitor slot management   Only rely on the slot array for per-task slot management to avoid   inconsistency with the unused counter. - Improve rvgen code robustness and templates   Use pathlib in rvgen and improve kernel path discovery. Also improve   consistency across templates when generating code (e.g. author   placeholder and monitor struct name). - Update rtapp sleep monitor   Simplify the sleep monitor by excluding kernel threads and updating   the nanosleep check to focus only on CLOCK_REALTIME. Also switch to   use the sched_exit tracepoint to run in the context of the offending   (wakee) task. - Add wakeup monitor   Add the new rtapp/wakeup monitor to detect when lower-priority tasks   wake up higher-priority ones, complementing the existing sleep   monitor by running in the waker context and capturing its stack   trace. - Fix tools/rv exit status on failure   Ensure the rv tool returns a failure exit code when a monitor fails   to start because it was already running. - Add automated selftests for tools/rv and rvgen   Introduced automated bash selftests to validate rv monitor listing   and execution under different configurations. Added tests for the   rvgen code generator, validating generated files against expected   output (golden). Tests are reachable via make check. - Add KUnit test coverage for verification monitors   Added comprehensive KUnit tests to validate the functionality of   deterministic, hybrid, and LTL monitors by emulating event sequences   and timing in a mock environment without affecting the running kernel   while expecting mock reactions to fire. Ensure real RV monitors   cannot run during KUnit tests to avoid state corruption. - Mock current in rv monitors   Mock the call to current in rv monitors when the KUnit tests are   built to allow them to run the test on dummy tasks. No overhead is   expected when KUnit tests aren&apos;t running. - Introduce rvgen kunit subcommand   Added a new &apos;kunit&apos; subcommand to rvgen to automatically patch an   already generated monitor with KUnit integration templates by parsing   its event handlers and creating the required mock structures and   initializations. - Refine kernel verification selftests   Added new selftests for the deadline and stall monitors and   rearranged the existing wwnr_printk test to resolve flakiness.   Additionally, fixed an issue in the selftests framework where   negative assertion failures were not correctly propagated due to   shell rules. - Fix 32-bit build of nomiss KUnit test   A previous commit introduced a division between an u64 and a constant   value and that doesn&apos;t build on 32-bit systems. Use div_u64()   instead. - Document changes in sleep monitor   The sleep monitor introduced some changes in the past like allowing   epoll_wait() as a valid sleep and a task going to runnable before   scheduling as a valid wakeup. Document both.* tag &apos;trace-rv-v7.3&apos; of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: (40 commits)  Documentation/rv: Explain epoll and aborted sleeps  rv: Fix 32-bit build of nomiss KUnit test  selftests/verification: Add selftests for deadline and stall monitors  selftests/verification: Rearrange the wwnr_printk test  selftests/verification: Fix wrong errexit assumption  rv: Add KUnit tests for some LTL monitors  rv: Add KUnit mock for current  rv: Add KUnit tests for some DA/HA monitors  rv: Export task monitor slot and react symbols  verification/rvgen: Add selftests for rvgen kunit  verification/rvgen: Add the rvgen kunit subcommand  verification/rvgen: Add selftests  verification/rvgen: Add golden and spec folders for tests  tools/rv: Add selftests  verification/rvgen: Improve consistency in template files  verification/rvgen: Use pathlib instead of os.path  verification/rvgen: Improve rv_dir discovery in RVGenerator  tools/rv: Fix exit status when monitor execution fails  rv: Use generic rv_this for the rv_monitor variable in LTL  rv/rtapp: Add wakeup monitor  ...

            List of files:
            /linux/kernel/trace/rv/rv_monitors_test.c</description>
        <pubDate>Wed, 19 Aug 2026 22:29:22 +0200</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>51f3fe704a880c7061057d9b22ada8964bc4c9de - rv: Add KUnit tests for some LTL monitors</title>
        <link>http://kernelsources.org:8080/source/history/linux/kernel/trace/rv/rv_monitors_test.c#51f3fe704a880c7061057d9b22ada8964bc4c9de</link>
        <description>rv: Add KUnit tests for some LTL monitorsValidate the functionality of LTL monitors by injecting events in acontrolled environment (KUnit) and expecting reactions, just like it isdone in DA monitors.Reviewed-by: Nam Cao &lt;namcao@linutronix.de&gt;Link: https://lore.kernel.org/r/20260723074534.43521-15-gmonaco@redhat.comSigned-off-by: Gabriele Monaco &lt;gmonaco@redhat.com&gt;

            List of files:
            /linux/kernel/trace/rv/rv_monitors_test.c</description>
        <pubDate>Thu, 23 Jul 2026 09:45:31 +0200</pubDate>
        <dc:creator>Gabriele Monaco &lt;gmonaco@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>cf8f191c06546dff223df12010d4a21f7b631ae3 - rv: Add KUnit mock for current</title>
        <link>http://kernelsources.org:8080/source/history/linux/kernel/trace/rv/rv_monitors_test.c#cf8f191c06546dff223df12010d4a21f7b631ae3</link>
        <description>rv: Add KUnit mock for currentSome monitors do not only rely on tracepoint arguments but also on thecurrently executing task.This makes it more challenging to mock events in KUnit.Define wrapper functions around current, the functionality is mockedonly during KUnit, an additional function call is avoided using a staticbranch unless any (even unrelated) KUnit test is running.Rely on a global mock_current variable that is set only by the RV KUnittests and cleared on teardown. Unrelated KUnit tests that happen totrigger RV handlers would see it null and use current.Reviewed-by: Nam Cao &lt;namcao@linutronix.de&gt;Reviewed-by: Wen Yang &lt;wen.yang@linux.dev&gt;Link: https://lore.kernel.org/r/20260723074534.43521-14-gmonaco@redhat.comSigned-off-by: Gabriele Monaco &lt;gmonaco@redhat.com&gt;

            List of files:
            /linux/kernel/trace/rv/rv_monitors_test.c</description>
        <pubDate>Thu, 23 Jul 2026 09:45:30 +0200</pubDate>
        <dc:creator>Gabriele Monaco &lt;gmonaco@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>8da2a88383658dac97769ed8f807ef6100a69480 - rv: Add KUnit tests for some DA/HA monitors</title>
        <link>http://kernelsources.org:8080/source/history/linux/kernel/trace/rv/rv_monitors_test.c#8da2a88383658dac97769ed8f807ef6100a69480</link>
        <description>rv: Add KUnit tests for some DA/HA monitorsValidate the functionality of DA monitors by injecting events in acontrolled environment (KUnit) and expecting reactions.Events handlers are exported directly from the monitor source fileswithout using system events and with dummy arguments (e.g. no realtasks). If the provided sequence of events incurs a violation, the testexpects the stub version of rv_react() to be called.This testing method can validate the entire monitor implementation sinceit sits between the monitor and the system (in place of thetracepoints). All sorts of system and timing events can be emulatedwithout affecting the running kernel.Handlers and monitor functions are exported as part of a struct tosimplify the process of running KUnit tests from kernel modules.Reviewed-by: Nam Cao &lt;namcao@linutronix.de&gt;Link: https://lore.kernel.org/r/20260723074534.43521-13-gmonaco@redhat.comSigned-off-by: Gabriele Monaco &lt;gmonaco@redhat.com&gt;

            List of files:
            /linux/kernel/trace/rv/rv_monitors_test.c</description>
        <pubDate>Thu, 23 Jul 2026 09:45:29 +0200</pubDate>
        <dc:creator>Gabriele Monaco &lt;gmonaco@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
