<?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 cli_p.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>03d745b9843560ab89a796d0d9311bed5c6df6d6 - rtla/timerlat: Add -A/--aligned CLI option</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/tracing/rtla/src/cli_p.h#03d745b9843560ab89a796d0d9311bed5c6df6d6</link>
        <description>rtla/timerlat: Add -A/--aligned CLI optionAdd a new option, -A/--aligned, that enables timerlat thread alignmentimplemented on the kernel-side in commit 4245bf4dc58f (&quot;tracing/osnoise:Add option to align tlat threads&quot;). The option takes an argument,representing alignment between timerlat threads in microseconds.The feature is modeled after the option of the same name in thecyclictest tool.Link: https://lore.kernel.org/r/20260527144928.2944472-1-tglozar@redhat.comSigned-off-by: Tomas Glozar &lt;tglozar@redhat.com&gt;

            List of files:
            /linux/tools/tracing/rtla/src/cli_p.h</description>
        <pubDate>Wed, 27 May 2026 16:49:26 +0200</pubDate>
        <dc:creator>Tomas Glozar &lt;tglozar@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>5d9af63e80b5a202e69ce5bcf54af320e46f397a - rtla: Parse cmdline using libsubcmd</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/tracing/rtla/src/cli_p.h#5d9af63e80b5a202e69ce5bcf54af320e46f397a</link>
        <description>rtla: Parse cmdline using libsubcmdInstead of using getopt_long() directly to parse the command linearguments given to an RTLA tool, use libsubcmd&apos;s parse_options().Utilizing libsubcmd for parsing command line arguments has severalbenefits:- A help message is automatically generated by libsubcmd from the  specification, removing the need of writing it by hand.- Options are sorted into groups based on which part of tracing (CPU,  thread, auto-analysis, tuning, histogram) they relate to.- Common parsing patterns for numerical and boolean values now share  code, with the target variable being stored in the option array.To avoid duplication of the option parsing logic, RTLA-specificmacros defining struct option values are created:- RTLA_OPT_* for options common to all tools- OSNOISE_OPT_* and TIMERLAT_OPT_* for options specific to  osnoise/timerlat tools- HIST_OPT_* macros for options specific to histogram-based tools.Individual *_parse_args() functions then construct an array out ofthese macros that is then passed to libsubcmd&apos;s parse_options().All code specific to command line options parsing is moved out of theindividual tool files into a new file, cli.c, which also contains thecontents of the rtla.c file. A private header, cli_p.h, is addedalongside the public header cli.h, so that unit tests are able to teststatically declared option callbacks.Minor changes:- The return value of tool-level help option changes to 129, as this is  the value set by libsubcmd; this is reflected in affected test cases.  The implementation of help for command-level and tracer-level help  is set to 129 as well for consistency, and the change is reflected in  exit value documentation.- Related to the above, {rtla,osnoise,timerlat}_usage() are marked  __noreturn and exit() is removed from after they are called for  cleaner code.- The error messages for invalid argument for options --dma-latency and  -E/--entries were corrected, fixing off-by-one in the limits.Note that unsetting options (using --no-&lt;opt&gt; syntax) is currently notimplemented for options that use custom callbacks. For --irq and--thread, it will never be implemented, as they conflict with alreadyexisting --no-irq and --no-thread with a different meaning.Assisted-by: Composer:composer-1.5Link: https://lore.kernel.org/r/20260528103254.2990068-5-tglozar@redhat.comSigned-off-by: Tomas Glozar &lt;tglozar@redhat.com&gt;

            List of files:
            /linux/tools/tracing/rtla/src/cli_p.h</description>
        <pubDate>Thu, 28 May 2026 12:32:52 +0200</pubDate>
        <dc:creator>Tomas Glozar &lt;tglozar@redhat.com&gt;</dc:creator>
    </item>
</channel>
</rss>
