lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c62985530909210023p7707b9efwc4a994522e53fa72@mail.gmail.com>
Date:	Mon, 21 Sep 2009 09:23:12 +0200
From:	Frédéric Weisbecker <fweisbec@...il.com>
To:	rostedt@...dmis.org
Cc:	Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...e.hu>,
	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] trace: export trace_profile_buf symbols

Le 20 septembre 2009 13:23, Steven Rostedt <rostedt@...dmis.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@...llo.nl>
>
> Acked-by: Steven Rostedt <rostedt@...dmis.org>

Acked-by: Frederic Weisbecker <fweisbec@...il.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;
>>
>>
>>
>
>
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ