From: Jim Cromie via B4 Relay <devnull+jim.cromie.gmail.com@kernel.org>
To: "Jason Baron" <jbaron@akamai.com>,
"Shuah Khan" <shuah@kernel.org>,
"Andrew Morton" <akpm@linux-foundation.org>,
"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>,
"Maxime Ripard" <mripard@kernel.org>,
"Thomas Zimmermann" <tzimmermann@suse.de>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Arnd Bergmann" <arnd@arndb.de>,
"Luis Chamberlain" <mcgrof@kernel.org>,
"Petr Pavlu" <petr.pavlu@suse.com>,
"Daniel Gomez" <da.gomez@kernel.org>,
"Sami Tolvanen" <samitolvanen@google.com>,
"Aaron Tomlin" <atomlin@atomlin.com>,
"Jonathan Corbet" <corbet@net.net>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Nathan Chancellor" <nathan@kernel.org>,
"Nicolas Schier" <nsc@kernel.org>,
"Shuah Khan" <skhan@linuxfoundation.org>,
"Randy Dunlap" <rdunlap@infradead.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Pavel Machek" <pavel@kernel.org>, "Len Brown" <lenb@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>,
"Petr Mladek" <pmladek@suse.com>,
"Steven Rostedt" <rostedt@goodmis.org>,
"John Ogness" <john.ogness@linutronix.de>,
"Sergey Senozhatsky" <senozhatsky@chromium.org>,
"Thomas Weißschuh" <linux@weissschuh.net>
Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
dri-devel@lists.freedesktop.org, linux-arch@vger.kernel.org,
linux-modules@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kbuild@vger.kernel.org, linux-pm@vger.kernel.org,
Jim Cromie <jim.cromie@gmail.com>
Subject: [PATCH v12 36/40] dyndbg: add +c flag to count pr_debug calls without printing
Date: Mon, 12 Oct 2026 20:37:07 -0600 [thread overview]
Message-ID: <20261012-dd-cmap-part2-clean-v12-36-3c8cc5725def@gmail.com> (raw)
In-Reply-To: <20261012-dd-cmap-part2-clean-v12-0-3c8cc5725def@gmail.com>
From: Jim Cromie <jim.cromie@gmail.com>
Introduce a +c flag, to increment a per-cpu counter: ddebug_count
when a flagged pr_debug() is called.
Reset the counter with:
echo reset_stats > /proc/dynamic_debug/control
and see the count value with:
tail -n1 /proc/dynamic_debug/control
#: total count: 2295401
This counter lets us count callrates of arbitrary sets of "enabled"
pr_debugs, over user defined intervals, without actually doing the
printk work. Each increment represents a fetch from main memory and a
bit test, which are now elided because the pr_debug is backed by a
static-key.
CONFIG_DRM_USE_DYNAMIC_DEBUG=y gives drm a per callsite static-key to
avoid the cache-line insult of actually reading __drm_debug. On my
amdgpu + nvidia laptop, thats ~3200 callsites.
The benchmarks below are from a recent build running on my asus
amdgpu + nouveau laptop, using scripts from below the snip.
#> count_hits 30 hammer_vk --
Banging on: hammer_vk (&)
[1] 100847
[1]+ Done hammer_vk
#: total hits: 2295401
#> count_hits 30 hammer_vk -- DRM_UT_CORE
Banging on: hammer_vk (&)
[1] 99910
[1]+ Done hammer_vk
#: total hits: 2204406
Notably, the DRM_UT_CORE category dominates the call traffic, not
DRM_UT_VBL or any others, which contribute little extra to the above.
To see the distribution of debug categories (for vkcube load)
#> isolate_drm_hits 2> /dev/null
Starting isolation study: 10s per class using vkcube
----------------------------------------------------------
DRM CLASS | TOTAL HITS
----------------------------------------------------------
DRM_UT_CORE | 85305
DRM_UT_DRIVER | 0
DRM_UT_KMS | 1435
DRM_UT_PRIME | 0
DRM_UT_ATOMIC | 13645
DRM_UT_VBL | 4071
DRM_UT_STATE | 1780
DRM_UT_LEASE | 0
DRM_UT_DP | 0
DRM_UT_DRMRES | 0
FOO | 0
REVIEW:
In every minute, 12 vkcubes issue ~4.6M drm_debug_enabled(__drm_debug)
macro-calls. To test the bits, they all *may* go out to main memory,
though __drm_debug is ro-mostly. Still, theres significant cache-line
eviction, and potentially meaningful costs we can avoid.
With CONFIG_DRM_USE_DYNAMIC_DEBUG=y, each pr_debug call-site is
replaced by a static-key, with the off-cost of few NOOPs, avoiding all
the cache-line thrashing.
NOTES:
The +c flag invokes the callsite, but avoids the heavy syslog writing.
It is currently independent of +p, but it could be compressed into a
state-machine, and the bit recovered, but not til we need to do so.
The +c flag has no predictive quality; to count usr_dbg() callsites,
you must have reimplemnted them already with pr_debug. This just
gives DRM folks some numbers to consider, to balance against the work
needed to test this series.
Assisted-by: Gemini-CLI:gemini-2.5-pro
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
---
v11:
. only print counted_calls in control epilogue when count > 0.
v10:
. add __DYNAMIC_DEBUG_BRANCH() checking _ENABLED while DYNAMIC_DEBUG_BRANCH() checks _ACTIVE.
. add early return guards in __dynamic_*_dbg() helpers checking _ACTIVE.
. add __DYNAMIC_DEBUG_BRANCH() checking _ENABLED while DYNAMIC_DEBUG_BRANCH() checks _ACTIVE.
. add early return guards in __dynamic_*_dbg() helpers checking _ACTIVE.
v9:
. add missing kfree(tmpbuf) in reset_stats handler before early return.
. sum across for_each_possible_cpu() in get_ddebug_call_count() for hotplug stability.
. update !CONFIG_JUMP_LABEL branch check to check _DPRINTK_FLAGS_ENABLED.
function ddcmd () {
local cmd="$*"
# Direct write - assume the parent script is run with 'sudo' or as root
[ -f /proc/dynamic_debug/control ] || return 1;
if ! echo "$cmd" > /proc/dynamic_debug/control 2>/tmp/dd_err; then
local ret=$?
echo "ERROR ($ret): $(cat /tmp/dd_err)" #>&2
# Check dmesg for the "!" syntax error on wk-baseline
dmesg | grep -i "dyndbg" | tail -n 2 #>&2
return $ret
fi
}
function _get_cal_count() {
if [ ! -f /proc/interrupts ]; then
echo 0
return
fi
# sum all CPU columns for any line starting with CAL:
# the awk starts at $2 to skip the label (CAL:)
# NF-2 skips the trailing text "Function call interrupts"
grep "^ *CAL:" /proc/interrupts | \
awk '{ for(i=2; i<=NF-2; i++) sum+=$i } END { print sum+0 }'
}
function wrap_cal_count() {
local cal_before
cal_before=$(_get_cal_count)
printf " wrapping: %s\n" "$*" #>&2
#time \
"$@" || return 1
local cal_after
cal_after=$(_get_cal_count)
local delta=$(( ${cal_after:-0} - ${cal_before:-0} ))
printf "Delta-CAL (IPI): %d\n" "$delta" #>&2
}
TEST_CLASSES_LIST="D2_CORE D2_DRIVER D2_KMS D2_PRIME D2_ATOMIC D2_VBL D2_STATE D2_LEASE D2_DP D2_DRMRES V0 V1 V2 V3 V4 V5 V6 V7"
DRM_CLASSES_LIST="DRM_UT_CORE DRM_UT_DRIVER DRM_UT_KMS DRM_UT_PRIME DRM_UT_ATOMIC DRM_UT_VBL DRM_UT_STATE DRM_UT_LEASE DRM_UT_DP DRM_UT_DRMRES"
function dd_setup_() {
local flags="${1:-+p}"
# Use $2 if provided, otherwise fallback to the full list
local CLASSES_LIST="$2"
local q=""
local C
# Safeguard: if list is empty, don't do anything
[[ -z "$CLASSES_LIST" ]] && echo "no classes!" && return 0
for C in $CLASSES_LIST; do
q+="class $C $flags ; "
done
#echo "sending: $q"
ddcmd "$q"
}
function dd_setup_test() {
modprobe test_dynamic_debug || return 1
dd_setup_ $1 "${2:-$TEST_CLASSES_LIST}"
}
function dd_setup_drm() {
dd_setup_ $1 "${2:-$DRM_CLASSES_LIST}"
}
function count_hits() {
local duration=60
[[ "$1" =~ ^[0-9]+$ ]] && { duration=$1; shift; }
local cmd_to_run=()
local custom_classes=""
while [[ $# -gt 0 ]]; do
if [[ "$1" == "--" ]]; then
shift
custom_classes="$*"
break
fi
cmd_to_run+=("$1")
shift
done
ddcmd reset_stats
dd_setup_drm "+c" "$custom_classes"
if [[ ${#cmd_to_run[@]} -gt 0 ]]; then
echo "Banging on: ${cmd_to_run[*]} (&)"
# Use eval so bash functions work
eval "${cmd_to_run[*]} &"
local cmd_pid=$!
sleep "$duration"
killall vkcube 2>/dev/null
kill "$cmd_pid" 2>/dev/null
else
sleep "$duration"
fi
dd_setup_drm "-c" "$custom_classes"
tail -n1 /proc/dynamic_debug/control
}
function hammer_vk() {
for i in {1..12}; do vkcube >/dev/null 2>&1 & done
}
function isolate_drm_hits() {
local duration=${1:-10}
local cmd=${2:-vkcube}
echo "Starting isolation study: ${duration}s per class using ${cmd}"
echo "----------------------------------------------------------"
printf "%-20s | %-10s\n" "DRM CLASS" "TOTAL HITS"
echo "----------------------------------------------------------"
for class in $DRM_CLASSES_LIST FOO; do
# Run count_hits for the specific class
# Use 'capture' logic to grab only the hit count from the tail output
result=$(count_hits "$duration" "$cmd" -- "$class" | grep "total hits" | awk '{print $NF}')
printf "%-20s | %-10s\n" "$class" "$result"
done
#result=$(count_hits "$duration" "$cmd" -- "FOO" | grep "total hits" | awk '{print $NF}')
#printf "%-20s | %-10s\n" "$class" "$result"
}
[ $SHLVL == 2 -a -n "$*" ] && echo " doing: $* in $PWD" #>&2
if [ $SHLVL == 2 ]; then
# run args as cmd
$@
fi
---
include/linux/dynamic_debug.h | 40 +++++++++++++++++++++++++++----------
lib/dynamic_debug.c | 46 +++++++++++++++++++++++++++++++++++++++----
2 files changed, 72 insertions(+), 14 deletions(-)
diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
index dc755a24f1d6..d228b4a852c3 100644
--- a/include/linux/dynamic_debug.h
+++ b/include/linux/dynamic_debug.h
@@ -41,6 +41,9 @@ struct _ddebug {
#define _DPRINTK_FLAGS_INCL_TID (1<<4)
#define _DPRINTK_FLAGS_INCL_SOURCENAME (1<<5)
#define _DPRINTK_FLAGS_INCL_STACK (1<<6)
+#define _DPRINTK_FLAGS_COUNT (1<<7)
+
+#define _DPRINTK_FLAGS_BRANCH (_DPRINTK_FLAGS_PRINT | _DPRINTK_FLAGS_COUNT)
#define _DPRINTK_FLAGS_INCL_ANY \
(_DPRINTK_FLAGS_INCL_MODNAME | _DPRINTK_FLAGS_INCL_FUNCNAME |\
@@ -375,13 +378,13 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
#define _DPRINTK_KEY_INIT .key.dd_key_true = (STATIC_KEY_TRUE_INIT)
-#define DYNAMIC_DEBUG_BRANCH(descriptor) \
- static_branch_likely(&descriptor.key.dd_key_true)
+#define __DYNAMIC_DEBUG_BRANCH(descriptor) \
+ static_branch_likely(&(descriptor).key.dd_key_true)
#else
#define _DPRINTK_KEY_INIT .key.dd_key_false = (STATIC_KEY_FALSE_INIT)
-#define DYNAMIC_DEBUG_BRANCH(descriptor) \
- static_branch_unlikely(&descriptor.key.dd_key_false)
+#define __DYNAMIC_DEBUG_BRANCH(descriptor) \
+ static_branch_unlikely(&(descriptor).key.dd_key_false)
#endif
#else /* !CONFIG_JUMP_LABEL */
@@ -389,15 +392,30 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
#define _DPRINTK_KEY_INIT
#ifdef DEBUG
-#define DYNAMIC_DEBUG_BRANCH(descriptor) \
- likely(descriptor.flags & _DPRINTK_FLAGS_PRINT)
+#define __DYNAMIC_DEBUG_BRANCH(descriptor) \
+ likely((descriptor).flags & _DPRINTK_FLAGS_BRANCH)
#else
-#define DYNAMIC_DEBUG_BRANCH(descriptor) \
- unlikely(descriptor.flags & _DPRINTK_FLAGS_PRINT)
+#define __DYNAMIC_DEBUG_BRANCH(descriptor) \
+ unlikely((descriptor).flags & _DPRINTK_FLAGS_BRANCH)
#endif
#endif /* CONFIG_JUMP_LABEL */
+void ddebug_increment_call_count(void);
+#define DYNAMIC_DEBUG_COUNT(descriptor) do { \
+ if (unlikely((descriptor).flags & _DPRINTK_FLAGS_COUNT)) \
+ ddebug_increment_call_count(); \
+} while (0)
+
+#define DYNAMIC_DEBUG_BRANCH(descriptor) ({ \
+ bool __dd_print = false; \
+ if (__DYNAMIC_DEBUG_BRANCH(descriptor)) { \
+ DYNAMIC_DEBUG_COUNT(descriptor); \
+ __dd_print = !!((descriptor).flags & _DPRINTK_FLAGS_PRINT); \
+ } \
+ __dd_print; \
+})
+
/*
* Factory macros: ($prefix)dynamic_func_call($suffix)
*
@@ -409,6 +427,7 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
* (|_cls): adds in _DPRINT_CLASS_DFLT as needed
* (|_no_desc): former gets callsite descriptor as 1st arg (for prdbgs)
*/
+
#define __dynamic_func_call_cls(id, cls, fmt, func, ...) do { \
DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
if (DYNAMIC_DEBUG_BRANCH(id)) { \
@@ -423,8 +442,8 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
#define __dynamic_func_call_cls_no_desc(id, cls, fmt, func, ...) do { \
DEFINE_DYNAMIC_DEBUG_METADATA_CLS(id, cls, fmt); \
if (DYNAMIC_DEBUG_BRANCH(id)) { \
- func(__VA_ARGS__); \
- __dynamic_dump_stack(id); \
+ func(__VA_ARGS__); \
+ __dynamic_dump_stack(id); \
} \
} while (0)
#define __dynamic_func_call_no_desc(id, fmt, func, ...) \
@@ -512,6 +531,7 @@ void __dynamic_ibdev_dbg(struct _ddebug *descriptor,
#define DYNAMIC_DEBUG_CLASSMAP_PARAM_REF(_name, _bits, _var, _flags) \
module_param_named(_name, _bits, uint, 0600)
#define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)
+#define __DYNAMIC_DEBUG_BRANCH(descriptor) false
#define DYNAMIC_DEBUG_BRANCH(descriptor) false
#define DECLARE_DYNDBG_CLASSMAP(...)
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 023784dcdc80..47a830dbd564 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -19,12 +19,14 @@
#include <linux/kallsyms.h>
#include <linux/types.h>
#include <linux/mutex.h>
+#include <linux/percpu.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/list.h>
#include <linux/sysctl.h>
#include <linux/ctype.h>
#include <linux/string.h>
+
#include <linux/parser.h>
#include <linux/string_helpers.h>
#include <linux/uaccess.h>
@@ -71,6 +73,21 @@ struct flag_settings {
unsigned int mask;
};
+static DEFINE_PER_CPU(unsigned long, ddebug_call_count);
+void ddebug_increment_call_count(void)
+{
+ this_cpu_inc(ddebug_call_count);
+}
+EXPORT_SYMBOL(ddebug_increment_call_count);
+
+static void reset_ddebug_call_count(void)
+{
+ int cpu;
+
+ for_each_possible_cpu(cpu)
+ per_cpu(ddebug_call_count, cpu) = 0;
+}
+
static bool ddebug_class_map_in_range(const int class_id,
const struct ddebug_class_map *map);
static bool ddebug_class_user_in_range(const int class_id,
@@ -101,6 +118,7 @@ static const struct { unsigned flag:8; char opt_char; } opt_array[] = {
{ _DPRINTK_FLAGS_INCL_LINENO, 'l' },
{ _DPRINTK_FLAGS_INCL_TID, 't' },
{ _DPRINTK_FLAGS_INCL_STACK, 'd' },
+ { _DPRINTK_FLAGS_COUNT, 'c' },
{ _DPRINTK_FLAGS_NONE, '_' },
};
@@ -364,10 +382,10 @@ static int ddebug_change(const struct ddebug_query *query, struct flag_settings
if (newflags == dp->flags)
continue;
#ifdef CONFIG_JUMP_LABEL
- if (dp->flags & _DPRINTK_FLAGS_PRINT) {
- if (!(newflags & _DPRINTK_FLAGS_PRINT))
+ if (dp->flags & _DPRINTK_FLAGS_BRANCH) {
+ if (!(newflags & _DPRINTK_FLAGS_BRANCH))
static_branch_disable(&dp->key.dd_key_true);
- } else if (newflags & _DPRINTK_FLAGS_PRINT) {
+ } else if (newflags & _DPRINTK_FLAGS_BRANCH) {
static_branch_enable(&dp->key.dd_key_true);
}
#endif
@@ -726,6 +744,12 @@ static int ddebug_exec_queries(char *query, const char *modname)
if (!query || !*query || *query == '#')
continue;
+ if (!strncmp(query, "reset_stats", 11) &&
+ !*skip_spaces_and_commas(query + 11)) {
+ reset_ddebug_call_count();
+ continue;
+ }
+
if (modname)
v2pr_info("query %d: module %s \"%s\"\n", i, modname, query);
else
@@ -1105,6 +1129,7 @@ static __init int dyndbg_setup(char *str)
__setup("dyndbg=", dyndbg_setup);
+
/*
* File_ops->write method for <debugfs>/dynamic_debug/control. Gathers the
* command text from userspace, parses and executes it.
@@ -1262,6 +1287,16 @@ static const char *ddebug_class_name(struct _ddebug_info *di, struct _ddebug *dp
return NULL;
}
+static unsigned long get_ddebug_call_count(void)
+{
+ unsigned long total = 0;
+ int cpu;
+
+ for_each_possible_cpu(cpu)
+ total += per_cpu(ddebug_call_count, cpu);
+ return total;
+}
+
/*
* Seq_ops show method. Called several times within a read()
* call from userspace, with ddebug_lock held. Formats the
@@ -1281,7 +1316,10 @@ static int ddebug_proc_show(struct seq_file *m, void *p)
return 0;
}
if (p == EPILOGUE_TOKEN) {
- /* use this soon */
+ unsigned long count = get_ddebug_call_count();
+
+ if (count)
+ seq_printf(m, "#: counted_calls: %lu\n", count);
return 0;
}
--
2.56.0
next prev parent reply other threads:[~2026-10-13 2:36 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-13 2:36 [PATCH v12 00/40] dyndbg: Fix classmaps API for subsystems, query extensions, selftests Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 01/40] selftests/dyndbg: Add kselftest script to verify dynamic-debug Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 02/40] vmlinux.lds.h: refactor BOUNDED_SECTION_* macros into bounded_sections.lds.h Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 03/40] vmlinux.lds.h: drop unused HEADERED_SECTION* macros Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 04/40] vmlinux.lds.h: Fix ALIGN(8) omission causing NULL ptr on i386 Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 05/40] vmlinux.lds.h: remove redundant ALIGN(8) directives Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 06/40] dyndbg.lds.S: fix lost dyndbg sections in modules Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 07/40] dyndbg: factor ddebug_match_desc out from ddebug_change Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 08/40] dyndbg: add stub macro for DECLARE_DYNDBG_CLASSMAP Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 09/40] dyndbg: reword "class unknown," to "class:_UNKNOWN_" Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 10/40] dyndbg-API: remove DD_CLASS_TYPE_(DISJOINT|LEVEL)_NAMES and code Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 11/40] dyndbg: drop NUM_TYPE_ARGS Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 12/40] dyndbg: bump num-tokens in a query-cmd from 9 to 15 Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 13/40] dyndbg: reduce verbose/debug clutter Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 14/40] dyndbg: refactor param_set_dyndbg_classes and below Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 15/40] dyndbg: tighten fn-sig of ddebug_apply_class_bitmap Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 16/40] dyndbg: replace classmap list with an array-slice Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 17/40] dyndbg: macrofy a 2-index for-loop pattern Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 18/40] dyndbg: reduce class param storage to u32 Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 19/40] dyndbg,module: make proper substructs in _ddebug_info Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 20/40] dyndbg: move mod_name down from struct ddebug_table to _ddebug_info Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 21/40] dyndbg: hoist classmap-filter-by-modname up to ddebug_add_module Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 22/40] dyndbg-API: replace DECLARE_DYNDBG_CLASSMAP Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 23/40] selftests/dyndbg: Enable FT_classmap_inheritance Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 24/40] dyndbg: detect class_id reservation conflicts Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 25/40] dyndbg: check DYNAMIC_DEBUG_CLASSMAP_{DEFINE,USE_} args at compile-time Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 26/40] dyndbg-test: add do_bulk testpoint, rename do_prints to do_classes Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 27/40] dyndbg-API: promote DYNAMIC_DEBUG_CLASSMAP_PARAM to API Jim Cromie via B4 Relay
2026-10-13 2:36 ` [PATCH v12 28/40] dyndbg: control-parser: treat comma as a token separator Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 29/40] selftests: enable comma-terminator tests Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 30/40] dyndbg: split multi-query strings with @ Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 31/40] dyndbg: resolve "protection" of class'd pr_debug Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 32/40] docs/dyndbg: add classmap info to howto Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 33/40] dyndbg: Ignore additional arguments from pr_fmt Jim Cromie via B4 Relay
2026-10-13 11:33 ` Petr Mladek
2026-10-13 2:37 ` [PATCH v12 34/40] dyndbg: add epilogue to dynamic_debug/control file Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 35/40] dyndbg: fix attempt to modify an RO string Jim Cromie via B4 Relay
2026-10-13 2:37 ` Jim Cromie via B4 Relay [this message]
2026-10-13 2:37 ` [PATCH v12 37/40] dyndbg: add DEBUG-biased fallback stubs for _dynamic_func_call_cls Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 38/40] dyndbg: harden classmap and descriptor validation Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 39/40] selftests/dyndbg: Add FT_count_calls to test +c flag Jim Cromie via B4 Relay
2026-10-13 2:37 ` [PATCH v12 40/40] drm: Mark __drm_debug as __read_mostly Jim Cromie via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261012-dd-cmap-part2-clean-v12-36-3c8cc5725def@gmail.com \
--to=devnull+jim.cromie.gmail.com@kernel.org \
--cc=airlied@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=atomlin@atomlin.com \
--cc=corbet@lwn.net \
--cc=corbet@net.net \
--cc=da.gomez@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=jbaron@akamai.com \
--cc=jim.cromie@gmail.com \
--cc=john.ogness@linutronix.de \
--cc=lenb@kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-modules@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@weissschuh.net \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mcgrof@kernel.org \
--cc=mripard@kernel.org \
--cc=nathan@kernel.org \
--cc=nsc@kernel.org \
--cc=pavel@kernel.org \
--cc=petr.pavlu@suse.com \
--cc=pmladek@suse.com \
--cc=rafael@kernel.org \
--cc=rdunlap@infradead.org \
--cc=rostedt@goodmis.org \
--cc=samitolvanen@google.com \
--cc=senozhatsky@chromium.org \
--cc=shuah@kernel.org \
--cc=simona@ffwll.ch \
--cc=skhan@linuxfoundation.org \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox