mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] fix some typos in kernel/trace
@ 2012-08-02  6:02 Wang Tianhong
  2012-08-07 13:33 ` Steven Rostedt
  2012-08-21 15:18 ` [tip:perf/core] tracing/trivial: Fix " tip-bot for Wang Tianhong
  0 siblings, 2 replies; 3+ messages in thread
From: Wang Tianhong @ 2012-08-02  6:02 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel

Fix some typos in kernel/trace.

Signed-off-by: Wang Tianhong <wangthbj@linux.vnet.ibm.com>

diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 49491fa..b32ed0e 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -2816,7 +2816,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_record_enable);
  * to the buffer after this will fail and return NULL.
  *
  * This is different than ring_buffer_record_disable() as
- * it works like an on/off switch, where as the disable() verison
+ * it works like an on/off switch, where as the disable() version
  * must be paired with a enable().
  */
 void ring_buffer_record_off(struct ring_buffer *buffer)
@@ -2839,7 +2839,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_record_off);
  * ring_buffer_record_off().
  *
  * This is different than ring_buffer_record_enable() as
- * it works like an on/off switch, where as the enable() verison
+ * it works like an on/off switch, where as the enable() version
  * must be paired with a disable().
  */
 void ring_buffer_record_on(struct ring_buffer *buffer)
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 5c38c81..08acf42 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -426,15 +426,15 @@ __setup("trace_buf_size=", set_buf_size);

 static int __init set_tracing_thresh(char *str)
 {
-       unsigned long threshhold;
+       unsigned long threshold;
        int ret;

        if (!str)
                return 0;
-       ret = strict_strtoul(str, 0, &threshhold);
+       ret = strict_strtoul(str, 0, &threshold);
        if (ret < 0)
                return 0;
-       tracing_thresh = threshhold * 1000;
+       tracing_thresh = threshold * 1000;
        return 1;
 }
 __setup("tracing_thresh=", set_tracing_thresh);



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][TRIVIAL] fix some typos in kernel/trace
  2012-08-02  6:02 [PATCH][TRIVIAL] fix some typos in kernel/trace Wang Tianhong
@ 2012-08-07 13:33 ` Steven Rostedt
  2012-08-21 15:18 ` [tip:perf/core] tracing/trivial: Fix " tip-bot for Wang Tianhong
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2012-08-07 13:33 UTC (permalink / raw)
  To: Wang Tianhong; +Cc: mingo, linux-kernel

On Thu, 2012-08-02 at 14:02 +0800, Wang Tianhong wrote:
> Fix some typos in kernel/trace.

Thanks, I queued this up for 3.7.

-- Steve



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:perf/core] tracing/trivial: Fix some typos in kernel/trace
  2012-08-02  6:02 [PATCH][TRIVIAL] fix some typos in kernel/trace Wang Tianhong
  2012-08-07 13:33 ` Steven Rostedt
@ 2012-08-21 15:18 ` tip-bot for Wang Tianhong
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Wang Tianhong @ 2012-08-21 15:18 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, rostedt, wangthbj, tglx

Commit-ID:  87abb3b15c62033409f5bf2ffb5620c94f91cf2c
Gitweb:     http://git.kernel.org/tip/87abb3b15c62033409f5bf2ffb5620c94f91cf2c
Author:     Wang Tianhong <wangthbj@linux.vnet.ibm.com>
AuthorDate: Thu, 2 Aug 2012 14:02:00 +0800
Committer:  Steven Rostedt <rostedt@goodmis.org>
CommitDate: Tue, 7 Aug 2012 09:43:32 -0400

tracing/trivial: Fix some typos in kernel/trace

Fix some typos in kernel/trace.

Link: http://lkml.kernel.org/r/1343887320.2228.9.camel@louis-ThinkPad-T410

Signed-off-by: Wang Tianhong <wangthbj@linux.vnet.ibm.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
---
 kernel/trace/ring_buffer.c |    4 ++--
 kernel/trace/trace.c       |    6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 49491fa..b32ed0e 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -2816,7 +2816,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_record_enable);
  * to the buffer after this will fail and return NULL.
  *
  * This is different than ring_buffer_record_disable() as
- * it works like an on/off switch, where as the disable() verison
+ * it works like an on/off switch, where as the disable() version
  * must be paired with a enable().
  */
 void ring_buffer_record_off(struct ring_buffer *buffer)
@@ -2839,7 +2839,7 @@ EXPORT_SYMBOL_GPL(ring_buffer_record_off);
  * ring_buffer_record_off().
  *
  * This is different than ring_buffer_record_enable() as
- * it works like an on/off switch, where as the enable() verison
+ * it works like an on/off switch, where as the enable() version
  * must be paired with a disable().
  */
 void ring_buffer_record_on(struct ring_buffer *buffer)
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index a120f98..d1a8d07 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -426,15 +426,15 @@ __setup("trace_buf_size=", set_buf_size);
 
 static int __init set_tracing_thresh(char *str)
 {
-	unsigned long threshhold;
+	unsigned long threshold;
 	int ret;
 
 	if (!str)
 		return 0;
-	ret = strict_strtoul(str, 0, &threshhold);
+	ret = strict_strtoul(str, 0, &threshold);
 	if (ret < 0)
 		return 0;
-	tracing_thresh = threshhold * 1000;
+	tracing_thresh = threshold * 1000;
 	return 1;
 }
 __setup("tracing_thresh=", set_tracing_thresh);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-21 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-02  6:02 [PATCH][TRIVIAL] fix some typos in kernel/trace Wang Tianhong
2012-08-07 13:33 ` Steven Rostedt
2012-08-21 15:18 ` [tip:perf/core] tracing/trivial: Fix " tip-bot for Wang Tianhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome