[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1332717954-5775-9-git-send-email-jim.cromie@gmail.com>
Date: Sun, 25 Mar 2012 17:25:46 -0600
From: jim.cromie@...il.com
To: jbaron@...hat.com
Cc: linux-kernel@...r.kernel.org, Jim Cromie <jim.cromie@...il.com>
Subject: [PATCH 08/16] dynamic_debug: deprecate ddebug_query, suggest dyndbg instead
From: Jim Cromie <jim.cromie@...il.com>
Deprecate ddebug_query= in feature-removal-schedule.txt. Add a
warning when processing ddebug_query= param to change it to dyndbg=.
Signed-off-by: Jim Cromie <jim.cromie@...il.com>
---
Documentation/feature-removal-schedule.txt | 9 ++++++++-
lib/dynamic_debug.c | 2 ++
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 0cad480..e926daf 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -2,7 +2,14 @@ The following is a list of files and features that are going to be
removed in the kernel source tree. Every entry should contain what
exactly is going away, why it is happening, and who is going to be doing
the work. When the feature is removed from the kernel, it should also
-be removed from this file.
+be removed from this file. The default deprecation period is 2-3 releases.
+
+---------------------------
+
+What: ddebug_query="query" cmdline param
+When: v3.6
+Why: obsoleted by dyndbg="query" and module.dyndbg="query"
+Who: Jim Cromie <jim.cromie@...il.com>, Jason Baron <jbaron@...hat.com>
---------------------------
diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c
index 32e7c52..a3ab3bd 100644
--- a/lib/dynamic_debug.c
+++ b/lib/dynamic_debug.c
@@ -993,6 +993,8 @@ static int __init dynamic_debug_init(void)
/* ddebug_query boot param got passed -> set it up */
if (ddebug_setup_string[0] != '\0') {
+ pr_warn("ddebug_query param name is deprecated,"
+ " change it to dyndbg\n");
ret = ddebug_exec_queries(ddebug_setup_string);
if (ret < 0)
pr_warn("Invalid ddebug boot param %s",
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists