Patch "tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tracing-probe-events-remove-unused-max_arg_buf_len-m.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 5c64913ca9ad17e281410f591ca1c9dd9fe3758c
Author: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
Date:   Wed Feb 26 15:19:18 2025 +0900

    tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro
    
    [ Upstream commit fd5ba38390c59e1c147480ae49b6133c4ac24001 ]
    
    Commit 18b1e870a496 ("tracing/probes: Add $arg* meta argument for all
    function args") introduced MAX_ARG_BUF_LEN but it is not used.
    Remove it.
    
    Link: https://lore.kernel.org/all/174055075876.4079315.8805416872155957588.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxx/
    
    Fixes: 18b1e870a496 ("tracing/probes: Add $arg* meta argument for all function args")
    Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
    Reviewed-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/kernel/trace/trace_probe.h b/kernel/trace/trace_probe.h
index fba3ede870541..8a6797c2278d9 100644
--- a/kernel/trace/trace_probe.h
+++ b/kernel/trace/trace_probe.h
@@ -36,7 +36,6 @@
 #define MAX_BTF_ARGS_LEN	128
 #define MAX_DENTRY_ARGS_LEN	256
 #define MAX_STRING_SIZE		PATH_MAX
-#define MAX_ARG_BUF_LEN		(MAX_TRACE_ARGS * MAX_ARG_NAME_LEN)
 
 /* Reserved field names */
 #define FIELD_STRING_IP		"__probe_ip"




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux