All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: Remove text on tracepoint samples
@ 2013-03-15 14:58 Paul Bolle
  2013-03-15 15:05 ` Mathieu Desnoyers
  2013-03-18  8:34 ` [PATCH] [TRIVIAL] " Paul Bolle
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Bolle @ 2013-03-15 14:58 UTC (permalink / raw)
  To: Rob Landley; +Cc: Steven Rostedt, Mathieu Desnoyers, linux-doc, linux-kernel

The tracepoint sample code got removed. Remove a few lines on its usage
too.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
 Documentation/trace/tracepoints.txt | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/Documentation/trace/tracepoints.txt b/Documentation/trace/tracepoints.txt
index c0e1cee..da49437 100644
--- a/Documentation/trace/tracepoints.txt
+++ b/Documentation/trace/tracepoints.txt
@@ -81,7 +81,6 @@ tracepoint_synchronize_unregister() must be called before the end of
 the module exit function to make sure there is no caller left using
 the probe. This, and the fact that preemption is disabled around the
 probe call, make sure that probe removal and module unload are safe.
-See the "Probe example" section below for a sample probe module.
 
 The tracepoint mechanism supports inserting multiple instances of the
 same tracepoint, but a single definition must be made of a given
@@ -100,17 +99,3 @@ core kernel image or in modules.
 If the tracepoint has to be used in kernel modules, an
 EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be
 used to export the defined tracepoints.
-
-* Probe / tracepoint example
-
-See the example provided in samples/tracepoints
-
-Compile them with your kernel.  They are built during 'make' (not
-'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m.
-
-Run, as root :
-modprobe tracepoint-sample (insmod order is not important)
-modprobe tracepoint-probe-sample
-cat /proc/tracepoint-sample (returns an expected error)
-rmmod tracepoint-sample tracepoint-probe-sample
-dmesg
-- 
1.7.11.7


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

* Re: [PATCH] Documentation: Remove text on tracepoint samples
  2013-03-15 14:58 [PATCH] Documentation: Remove text on tracepoint samples Paul Bolle
@ 2013-03-15 15:05 ` Mathieu Desnoyers
  2013-03-18  8:34 ` [PATCH] [TRIVIAL] " Paul Bolle
  1 sibling, 0 replies; 4+ messages in thread
From: Mathieu Desnoyers @ 2013-03-15 15:05 UTC (permalink / raw)
  To: Paul Bolle; +Cc: Rob Landley, Steven Rostedt, linux-doc, linux-kernel

* Paul Bolle (pebolle@tiscali.nl) wrote:
> The tracepoint sample code got removed. Remove a few lines on its usage
> too.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

Thanks!

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

> ---
>  Documentation/trace/tracepoints.txt | 15 ---------------
>  1 file changed, 15 deletions(-)
> 
> diff --git a/Documentation/trace/tracepoints.txt b/Documentation/trace/tracepoints.txt
> index c0e1cee..da49437 100644
> --- a/Documentation/trace/tracepoints.txt
> +++ b/Documentation/trace/tracepoints.txt
> @@ -81,7 +81,6 @@ tracepoint_synchronize_unregister() must be called before the end of
>  the module exit function to make sure there is no caller left using
>  the probe. This, and the fact that preemption is disabled around the
>  probe call, make sure that probe removal and module unload are safe.
> -See the "Probe example" section below for a sample probe module.
>  
>  The tracepoint mechanism supports inserting multiple instances of the
>  same tracepoint, but a single definition must be made of a given
> @@ -100,17 +99,3 @@ core kernel image or in modules.
>  If the tracepoint has to be used in kernel modules, an
>  EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be
>  used to export the defined tracepoints.
> -
> -* Probe / tracepoint example
> -
> -See the example provided in samples/tracepoints
> -
> -Compile them with your kernel.  They are built during 'make' (not
> -'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m.
> -
> -Run, as root :
> -modprobe tracepoint-sample (insmod order is not important)
> -modprobe tracepoint-probe-sample
> -cat /proc/tracepoint-sample (returns an expected error)
> -rmmod tracepoint-sample tracepoint-probe-sample
> -dmesg
> -- 
> 1.7.11.7
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

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

* [PATCH] [TRIVIAL] Documentation: Remove text on tracepoint samples
  2013-03-15 14:58 [PATCH] Documentation: Remove text on tracepoint samples Paul Bolle
  2013-03-15 15:05 ` Mathieu Desnoyers
@ 2013-03-18  8:34 ` Paul Bolle
  2013-03-21  1:11   ` Steven Rostedt
  1 sibling, 1 reply; 4+ messages in thread
From: Paul Bolle @ 2013-03-18  8:34 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Rob Landley, Steven Rostedt, Mathieu Desnoyers, linux-doc,
	linux-kernel

The tracepoint sample code got removed. Remove a few lines on its usage
too.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Rob Landley <rob@landley.net>
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Rob asked (off list) to submit this for the trivial tree.

 Documentation/trace/tracepoints.txt | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/Documentation/trace/tracepoints.txt b/Documentation/trace/tracepoints.txt
index c0e1cee..da49437 100644
--- a/Documentation/trace/tracepoints.txt
+++ b/Documentation/trace/tracepoints.txt
@@ -81,7 +81,6 @@ tracepoint_synchronize_unregister() must be called before the end of
 the module exit function to make sure there is no caller left using
 the probe. This, and the fact that preemption is disabled around the
 probe call, make sure that probe removal and module unload are safe.
-See the "Probe example" section below for a sample probe module.
 
 The tracepoint mechanism supports inserting multiple instances of the
 same tracepoint, but a single definition must be made of a given
@@ -100,17 +99,3 @@ core kernel image or in modules.
 If the tracepoint has to be used in kernel modules, an
 EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be
 used to export the defined tracepoints.
-
-* Probe / tracepoint example
-
-See the example provided in samples/tracepoints
-
-Compile them with your kernel.  They are built during 'make' (not
-'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m.
-
-Run, as root :
-modprobe tracepoint-sample (insmod order is not important)
-modprobe tracepoint-probe-sample
-cat /proc/tracepoint-sample (returns an expected error)
-rmmod tracepoint-sample tracepoint-probe-sample
-dmesg
-- 
1.7.11.7


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

* Re: [PATCH] [TRIVIAL] Documentation: Remove text on tracepoint samples
  2013-03-18  8:34 ` [PATCH] [TRIVIAL] " Paul Bolle
@ 2013-03-21  1:11   ` Steven Rostedt
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Rostedt @ 2013-03-21  1:11 UTC (permalink / raw)
  To: Paul Bolle
  Cc: Jiri Kosina, Rob Landley, Mathieu Desnoyers, linux-doc,
	linux-kernel

On Mon, 2013-03-18 at 09:34 +0100, Paul Bolle wrote:
> The tracepoint sample code got removed. Remove a few lines on its usage
> too.
> 
> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> Acked-by: Rob Landley <rob@landley.net>
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
> ---
> Rob asked (off list) to submit this for the trivial tree.

Sure, it can go that path.

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

> 
>  Documentation/trace/tracepoints.txt | 15 ---------------
>  1 file changed, 15 deletions(-)
> 
> diff --git a/Documentation/trace/tracepoints.txt b/Documentation/trace/tracepoints.txt
> index c0e1cee..da49437 100644
> --- a/Documentation/trace/tracepoints.txt
> +++ b/Documentation/trace/tracepoints.txt
> @@ -81,7 +81,6 @@ tracepoint_synchronize_unregister() must be called before the end of
>  the module exit function to make sure there is no caller left using
>  the probe. This, and the fact that preemption is disabled around the
>  probe call, make sure that probe removal and module unload are safe.
> -See the "Probe example" section below for a sample probe module.
>  
>  The tracepoint mechanism supports inserting multiple instances of the
>  same tracepoint, but a single definition must be made of a given
> @@ -100,17 +99,3 @@ core kernel image or in modules.
>  If the tracepoint has to be used in kernel modules, an
>  EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be
>  used to export the defined tracepoints.
> -
> -* Probe / tracepoint example
> -
> -See the example provided in samples/tracepoints
> -
> -Compile them with your kernel.  They are built during 'make' (not
> -'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m.
> -
> -Run, as root :
> -modprobe tracepoint-sample (insmod order is not important)
> -modprobe tracepoint-probe-sample
> -cat /proc/tracepoint-sample (returns an expected error)
> -rmmod tracepoint-sample tracepoint-probe-sample
> -dmesg



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

end of thread, other threads:[~2013-03-21  1:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-15 14:58 [PATCH] Documentation: Remove text on tracepoint samples Paul Bolle
2013-03-15 15:05 ` Mathieu Desnoyers
2013-03-18  8:34 ` [PATCH] [TRIVIAL] " Paul Bolle
2013-03-21  1:11   ` Steven Rostedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.