<?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 kretprobe_example.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1b3c86ee - samples: kprobes: add missing MODULE_DESCRIPTION() macros</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#1b3c86ee</link>
        <description>samples: kprobes: add missing MODULE_DESCRIPTION() macrosmake allmodconfig &amp;&amp; make W=1 C=1 reports:WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kprobe_example.oWARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kretprobe_example.oAdd the missing invocations of the MODULE_DESCRIPTION() macro.Link: https://lore.kernel.org/all/20240601-md-samples-kprobes-v1-1-b6a772353893@quicinc.com/Signed-off-by: Jeff Johnson &lt;quic_jjohnson@quicinc.com&gt;Signed-off-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Tue, 11 Jun 2024 23:44:27 +0000</pubDate>
        <dc:creator>Jeff Johnson &lt;quic_jjohnson@quicinc.com&gt;</dc:creator>
    </item>
<item>
        <title>a110d172 - samples: kprobes: Fixes a typo</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#a110d172</link>
        <description>samples: kprobes: Fixes a typoFixes typo in a function name.Link: https://lore.kernel.org/all/20230817170819.77857-1-atulpant.linux@gmail.com/Signed-off-by: Atul Kumar Pant &lt;atulpant.linux@gmail.com&gt;Acked-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Signed-off-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Thu, 17 Aug 2023 17:08:19 +0000</pubDate>
        <dc:creator>Atul Kumar Pant &lt;atulpant.linux@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>1e1fb420 - samples: Use KSYM_NAME_LEN for kprobes</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#1e1fb420</link>
        <description>samples: Use KSYM_NAME_LEN for kprobesIt is better and enough to use KSYM_NAME_LEN for kprobesin samples, no need to define and use the other values.Link: https://lkml.kernel.org/r/1654651402-21552-1-git-send-email-yangtiezhu@loongson.cnSigned-off-by: Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;Acked-by: Masami Hiramatsu (Google) &lt;mhiramat@kernel.org&gt;Signed-off-by: Steven Rostedt (Google) &lt;rostedt@goodmis.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Wed, 08 Jun 2022 01:23:22 +0000</pubDate>
        <dc:creator>Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>f76fbbbb - samples/kretprobes: Fix return value if register_kretprobe() failed</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#f76fbbbb</link>
        <description>samples/kretprobes: Fix return value if register_kretprobe() failedUse the actual return value instead of always -1 if register_kretprobe()failed.E.g. without this patch: # insmod samples/kprobes/kretprobe_example.ko func=no_such_func insmod: ERROR: could not insert module samples/kprobes/kretprobe_example.ko: Operation not permittedWith this patch: # insmod samples/kprobes/kretprobe_example.ko func=no_such_func insmod: ERROR: could not insert module samples/kprobes/kretprobe_example.ko: Unknown symbol in moduleLink: https://lkml.kernel.org/r/1635213091-24387-2-git-send-email-yangtiezhu@loongson.cnFixes: 804defea1c02 (&quot;Kprobes: move kprobe examples to samples/&quot;)Signed-off-by: Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;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/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Tue, 26 Oct 2021 01:51:28 +0000</pubDate>
        <dc:creator>Tiezhu Yang &lt;yangtiezhu@loongson.cn&gt;</dc:creator>
    </item>
<item>
        <title>7f9a2357 - docs: trace: fix the location of kprobes.rst</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#7f9a2357</link>
        <description>docs: trace: fix the location of kprobes.rstThis patch was moved out of staging.Fixes: 2165b82fde82 (&quot;docs: Move kprobes.rst from staging/ to trace/&quot;)Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;Link: https://lore.kernel.org/r/a6d4c62e19ab1510789418a3a5ad42980cd7ae3a.1599660067.git.mchehab+huawei@kernel.orgSigned-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Wed, 09 Sep 2020 14:10:37 +0000</pubDate>
        <dc:creator>Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>eea11285 - tracing: switch to kernel_clone()</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#eea11285</link>
        <description>tracing: switch to kernel_clone()The old _do_fork() helper is removed in favor of the new kernel_clone() helper.The latter adheres to naming conventions for kernel internal syscall helpers.Signed-off-by: Christian Brauner &lt;christian.brauner@ubuntu.com&gt;Cc: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;Cc: Alexandre Chartre &lt;alexandre.chartre@oracle.com&gt;Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Cc: Shuah Khan &lt;shuah@kernel.org&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;Cc: Xiao Yang &lt;yangx.jy@cn.fujitsu.com&gt;Cc: Tom Zanussi &lt;zanussi@kernel.org&gt;Cc: linux-doc@vger.kernel.orgCc: linux-kselftest@vger.kernel.orgLink: https://lore.kernel.org/r/20200819104655.436656-11-christian.brauner@ubuntu.com

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Wed, 19 Aug 2020 10:46:54 +0000</pubDate>
        <dc:creator>Christian Brauner &lt;christian.brauner@ubuntu.com&gt;</dc:creator>
    </item>
<item>
        <title>8e2a46a4 - docs: move remaining stuff under Documentation/*.txt to Documentation/staging</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#8e2a46a4</link>
        <description>docs: move remaining stuff under Documentation/*.txt to Documentation/stagingThere are several files that I was unable to find a proper placefor them, and 3 ones that are still in plain old text format.Let&apos;s place those stuff behind the carpet, as we&apos;d like to keep theroot directory clean.We can later discuss and move those into better places.Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;Link: https://lore.kernel.org/r/11bd0d75e65a874f7c276a0aeab0fe13f3376f5f.1592203650.git.mchehab+huawei@kernel.orgSigned-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Mon, 15 Jun 2020 06:50:25 +0000</pubDate>
        <dc:creator>Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>d85eaa94 - samples/kprobes: Add __kprobes and NOKPROBE_SYMBOL() for handlers.</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#d85eaa94</link>
        <description>samples/kprobes: Add __kprobes and NOKPROBE_SYMBOL() for handlers.Add __kprobes and NOKPROBE_SYMBOL() for sample kprobe handlers.Signed-off-by: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Alexandre Chartre &lt;alexandre.chartre@oracle.com&gt;Acked-by: Peter Zijlstra &lt;peterz@infradead.org&gt;Link: https://lkml.kernel.org/r/20200505134059.878578033@linutronix.de

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Thu, 26 Mar 2020 14:50:11 +0000</pubDate>
        <dc:creator>Masami Hiramatsu &lt;mhiramat@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>09c434b8 - treewide: Add SPDX license identifier for more missed files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#09c434b8</link>
        <description>treewide: Add SPDX license identifier for more missed filesAdd SPDX license identifiers to all files which: - Have no license information of any form - Have MODULE_LICENCE(&quot;GPL*&quot;) inside which was used in the initial   scan/conversion to ignore the fileThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is:  GPL-2.0-onlySigned-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Sun, 19 May 2019 12:08:20 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>57c24b21 - samples/kretprobe: fix the wrong type</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#57c24b21</link>
        <description>samples/kretprobe: fix the wrong typeThe regs_return_value() returns &quot;unsigned long&quot; or &quot;long&quot; value.  But theretval is int type now, it may cause overflow, the log may becomes:    [ 2911.078869] do_brk returned -2003877888 and took 4620 ns to executeThis patch converts the retval to &quot;unsigned long&quot; type, and fixes theoverflow issue.Link: http://lkml.kernel.org/r/1464143083-3877-4-git-send-email-shijie.huang@arm.comSigned-off-by: Huang Shijie &lt;shijie.huang@arm.com&gt;Cc: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Steve Capper &lt;steve.capper@arm.com&gt;Cc: Ananth N Mavinakayanahalli &lt;ananth@linux.vnet.ibm.com&gt;Cc: Anil S Keshavamurthy &lt;anil.s.keshavamurthy@intel.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Wed, 03 Aug 2016 20:46:12 +0000</pubDate>
        <dc:creator>Huang Shijie &lt;shijie.huang@arm.com&gt;</dc:creator>
    </item>
<item>
        <title>61341314 - samples/kretprobe: convert the printk to pr_info/pr_err</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#61341314</link>
        <description>samples/kretprobe: convert the printk to pr_info/pr_errWe prefer to use the pr_* to print out the log now, this patch convertsthe printk to pr_info.  In the error path, use the pr_err to replace theprintk.Link: http://lkml.kernel.org/r/1464143083-3877-3-git-send-email-shijie.huang@arm.comSigned-off-by: Huang Shijie &lt;shijie.huang@arm.com&gt;Cc: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Steve Capper &lt;steve.capper@arm.com&gt;Cc: Ananth N Mavinakayanahalli &lt;ananth@linux.vnet.ibm.com&gt;Cc: Anil S Keshavamurthy &lt;anil.s.keshavamurthy@intel.com&gt;Cc: Masami Hiramatsu &lt;mhiramat@kernel.org&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Wed, 03 Aug 2016 20:46:09 +0000</pubDate>
        <dc:creator>Huang Shijie &lt;shijie.huang@arm.com&gt;</dc:creator>
    </item>
<item>
        <title>54aea454 - kprobes: use _do_fork() in samples to make them work again</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#54aea454</link>
        <description>kprobes: use _do_fork() in samples to make them work againCommit 3033f14ab78c (&quot;clone: support passing tls argument via C ratherthan pt_regs magic&quot;) introduced _do_fork() that allowed to pass @tlsparameter.The old do_fork() is defined only for architectures that are not readyto use this way and do not define HAVE_COPY_THREAD_TLS.Let&apos;s use _do_fork() in the kprobe examples to make them work again onall architectures.Signed-off-by: Petr Mladek &lt;pmladek@suse.com&gt;Cc: Ingo Molnar &lt;mingo@redhat.com&gt;Cc: Masami Hiramatsu &lt;masami.hiramatsu.pt@hitachi.com&gt;Cc: Andy Lutomirski &lt;luto@kernel.org&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: &quot;H. Peter Anvin&quot; &lt;hpa@zytor.com&gt;Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;Cc: Thiago Macieira &lt;thiago.macieira@intel.com&gt;Cc: Jiri Kosina &lt;jkosina@suse.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Thu, 01 Oct 2015 22:37:11 +0000</pubDate>
        <dc:creator>Petr Mladek &lt;pmladek@suse.com&gt;</dc:creator>
    </item>
<item>
        <title>8abf9196 - sparc64: cheaper asm/uaccess.h inclusion</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#8abf9196</link>
        <description>sparc64: cheaper asm/uaccess.h inclusionsched.h inclusion is definitely not needed like in 32-bit version,remove it, fixup compilation.Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Thu, 13 Aug 2009 10:05:43 +0000</pubDate>
        <dc:creator>Alexey Dobriyan &lt;adobriyan@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>804defea - Kprobes: move kprobe examples to samples/</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/samples/kprobes/kretprobe_example.c#804defea</link>
        <description>Kprobes: move kprobe examples to samples/Move kprobes examples from Documentation/kprobes.txt to under samples/.Patch originally by Randy Dunlap.o Updated the patch to apply on 2.6.25-rc3o Modified examples code to build on multiple architectures. Currently,  the kprobe and jprobe examples code works for x86 and powerpco Cleaned up unneeded #includeso Cleaned up Kconfig per Sam Ravnborg&apos;s suggestions to fix build break  on archs that don&apos;t have kretprobeso Implemented suggestions by Mathieu Desnoyers on CONFIG_KRETPROBESo Included Andrew Morton&apos;s cleanup based on x86-gito Modified kretprobe_example to act as a arch-agnostic module to  determine routine execution times:	Use &apos;modprobe kretprobe_example func=&lt;func_name&gt;&apos; to determine	execution time of func_name in nanoseconds.Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;Signed-off-by: Ananth N Mavinakayanahalli &lt;ananth@in.ibm.com&gt;Acked-by: Mathieu Desnoyers &lt;mathieu.desnoyers@polymtl.ca&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/samples/kprobes/kretprobe_example.c</description>
        <pubDate>Tue, 04 Mar 2008 22:28:38 +0000</pubDate>
        <dc:creator>Ananth N Mavinakayanahalli &lt;ananth@in.ibm.com&gt;</dc:creator>
    </item>
</channel>
</rss>
