mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] trace: export trace_profile_buf symbols
@ 2009-09-20 10:34 Peter Zijlstra
  2009-09-20 11:23 ` Steven Rostedt
  2009-09-20 17:40 ` [tip:tracing/urgent] tracing: Export " tip-bot for Peter Zijlstra
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Zijlstra @ 2009-09-20 10:34 UTC (permalink / raw)
  To: Ingo Molnar, Frédéric Weisbecker; +Cc: lkml, Steven Rostedt

ERROR: "trace_profile_buf_nmi" [fs/jbd2/jbd2.ko] undefined!                                                                        
ERROR: "trace_profile_buf" [fs/jbd2/jbd2.ko] undefined!
ERROR: "trace_profile_buf_nmi" [fs/ext4/ext4.ko] undefined!
ERROR: "trace_profile_buf" [fs/ext4/ext4.ko] undefined!
ERROR: "trace_profile_buf_nmi" [arch/x86/kvm/kvm.ko] undefined!
ERROR: "trace_profile_buf" [arch/x86/kvm/kvm.ko] undefined!

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
---
 kernel/trace/trace_event_profile.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/kernel/trace/trace_event_profile.c b/kernel/trace/trace_event_profile.c
index 3aaa77c..f65e966 100644
--- a/kernel/trace/trace_event_profile.c
+++ b/kernel/trace/trace_event_profile.c
@@ -17,6 +17,9 @@ typedef struct {char buf[FTRACE_MAX_PROFILE_SIZE];} profile_buf_t;
 char		*trace_profile_buf;
 char 		*trace_profile_buf_nmi;
 
+EXPORT_SYMBOL_GPL(trace_profile_buf);
+EXPORT_SYMBOL_GPL(trace_profile_buf_nmi);
+
 /* Count the events in use (per event id, not per instance) */
 static int	total_profile_count;
 



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

* Re: [PATCH] trace: export trace_profile_buf symbols
  2009-09-20 10:34 [PATCH] trace: export trace_profile_buf symbols Peter Zijlstra
@ 2009-09-20 11:23 ` Steven Rostedt
  2009-09-21  7:23   ` Frédéric Weisbecker
  2009-09-20 17:40 ` [tip:tracing/urgent] tracing: Export " tip-bot for Peter Zijlstra
  1 sibling, 1 reply; 4+ messages in thread
From: Steven Rostedt @ 2009-09-20 11:23 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Ingo Molnar, Frédéric Weisbecker, lkml

On Sun, 2009-09-20 at 12:34 +0200, Peter Zijlstra wrote:
> ERROR: "trace_profile_buf_nmi" [fs/jbd2/jbd2.ko] undefined!                                                                        
> ERROR: "trace_profile_buf" [fs/jbd2/jbd2.ko] undefined!
> ERROR: "trace_profile_buf_nmi" [fs/ext4/ext4.ko] undefined!
> ERROR: "trace_profile_buf" [fs/ext4/ext4.ko] undefined!
> ERROR: "trace_profile_buf_nmi" [arch/x86/kvm/kvm.ko] undefined!
> ERROR: "trace_profile_buf" [arch/x86/kvm/kvm.ko] undefined!
> 

Peter, I thought you never use modules.

> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>

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

-- Steve

> ---
>  kernel/trace/trace_event_profile.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/kernel/trace/trace_event_profile.c b/kernel/trace/trace_event_profile.c
> index 3aaa77c..f65e966 100644
> --- a/kernel/trace/trace_event_profile.c
> +++ b/kernel/trace/trace_event_profile.c
> @@ -17,6 +17,9 @@ typedef struct {char buf[FTRACE_MAX_PROFILE_SIZE];} profile_buf_t;
>  char		*trace_profile_buf;
>  char 		*trace_profile_buf_nmi;
>  
> +EXPORT_SYMBOL_GPL(trace_profile_buf);
> +EXPORT_SYMBOL_GPL(trace_profile_buf_nmi);
> +
>  /* Count the events in use (per event id, not per instance) */
>  static int	total_profile_count;
>  
> 
> 


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

* [tip:tracing/urgent] tracing: Export trace_profile_buf symbols
  2009-09-20 10:34 [PATCH] trace: export trace_profile_buf symbols Peter Zijlstra
  2009-09-20 11:23 ` Steven Rostedt
@ 2009-09-20 17:40 ` tip-bot for Peter Zijlstra
  1 sibling, 0 replies; 4+ messages in thread
From: tip-bot for Peter Zijlstra @ 2009-09-20 17:40 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, hpa, mingo, a.p.zijlstra, peterz, fweisbec,
	rostedt, tglx, mingo

Commit-ID:  05bafda856092de0705de239c846777bddb94974
Gitweb:     http://git.kernel.org/tip/05bafda856092de0705de239c846777bddb94974
Author:     Peter Zijlstra <peterz@infradead.org>
AuthorDate: Sun, 20 Sep 2009 12:34:38 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Sun, 20 Sep 2009 19:15:57 +0200

tracing: Export trace_profile_buf symbols

ERROR: "trace_profile_buf_nmi" [fs/jbd2/jbd2.ko] undefined!
ERROR: "trace_profile_buf" [fs/jbd2/jbd2.ko] undefined!
ERROR: "trace_profile_buf_nmi" [fs/ext4/ext4.ko] undefined!
ERROR: "trace_profile_buf" [fs/ext4/ext4.ko] undefined!
ERROR: "trace_profile_buf_nmi" [arch/x86/kvm/kvm.ko] undefined!
ERROR: "trace_profile_buf" [arch/x86/kvm/kvm.ko] undefined!

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1253442878.7542.3.camel@laptop>
[ fixed whitespace noise and checkpatch complaint ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>


---
 kernel/trace/trace_event_profile.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/trace_event_profile.c b/kernel/trace/trace_event_profile.c
index 3aaa77c..dd44b87 100644
--- a/kernel/trace/trace_event_profile.c
+++ b/kernel/trace/trace_event_profile.c
@@ -15,7 +15,10 @@
 typedef struct {char buf[FTRACE_MAX_PROFILE_SIZE];} profile_buf_t;
 
 char		*trace_profile_buf;
-char 		*trace_profile_buf_nmi;
+EXPORT_SYMBOL_GPL(trace_profile_buf);
+
+char		*trace_profile_buf_nmi;
+EXPORT_SYMBOL_GPL(trace_profile_buf_nmi);
 
 /* Count the events in use (per event id, not per instance) */
 static int	total_profile_count;

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

* Re: [PATCH] trace: export trace_profile_buf symbols
  2009-09-20 11:23 ` Steven Rostedt
@ 2009-09-21  7:23   ` Frédéric Weisbecker
  0 siblings, 0 replies; 4+ messages in thread
From: Frédéric Weisbecker @ 2009-09-21  7:23 UTC (permalink / raw)
  To: rostedt; +Cc: Peter Zijlstra, Ingo Molnar, lkml

Le 20 septembre 2009 13:23, Steven Rostedt <rostedt@goodmis.org> a écrit :
> On Sun, 2009-09-20 at 12:34 +0200, Peter Zijlstra wrote:
>> ERROR: "trace_profile_buf_nmi" [fs/jbd2/jbd2.ko] undefined!
>> ERROR: "trace_profile_buf" [fs/jbd2/jbd2.ko] undefined!
>> ERROR: "trace_profile_buf_nmi" [fs/ext4/ext4.ko] undefined!
>> ERROR: "trace_profile_buf" [fs/ext4/ext4.ko] undefined!
>> ERROR: "trace_profile_buf_nmi" [arch/x86/kvm/kvm.ko] undefined!
>> ERROR: "trace_profile_buf" [arch/x86/kvm/kvm.ko] undefined!
>>
>
> Peter, I thought you never use modules.


And I forgot to think about them :-/


>> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
>
> Acked-by: Steven Rostedt <rostedt@goodmis.org>

Acked-by: Frederic Weisbecker <fweisbec@gmail.com>



>
> -- Steve
>
>> ---
>>  kernel/trace/trace_event_profile.c |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/kernel/trace/trace_event_profile.c b/kernel/trace/trace_event_profile.c
>> index 3aaa77c..f65e966 100644
>> --- a/kernel/trace/trace_event_profile.c
>> +++ b/kernel/trace/trace_event_profile.c
>> @@ -17,6 +17,9 @@ typedef struct {char buf[FTRACE_MAX_PROFILE_SIZE];} profile_buf_t;
>>  char         *trace_profile_buf;
>>  char                 *trace_profile_buf_nmi;
>>
>> +EXPORT_SYMBOL_GPL(trace_profile_buf);
>> +EXPORT_SYMBOL_GPL(trace_profile_buf_nmi);
>> +
>>  /* Count the events in use (per event id, not per instance) */
>>  static int   total_profile_count;
>>
>>
>>
>
>

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

end of thread, other threads:[~2009-09-21  7:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-20 10:34 [PATCH] trace: export trace_profile_buf symbols Peter Zijlstra
2009-09-20 11:23 ` Steven Rostedt
2009-09-21  7:23   ` Frédéric Weisbecker
2009-09-20 17:40 ` [tip:tracing/urgent] tracing: Export " tip-bot for Peter Zijlstra

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