Re: [PATCH v2] perf: Fix unexported genericperf_arch_fetch_caller_regs
From: Stephen Rothwell
Date: Mon Mar 15 2010 - 18:34:09 EST
Hi Frederic,
On Mon, 15 Mar 2010 23:17:22 +0100 Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
>
> perf_arch_fetch_caller_regs() is exported for the overriden x86
> version, but not for the generic weak version.
> As a general rule, weak functions should have their symbol exported
^
"not"
> in the same file they are defined.
>
> So let's export it on trace_event_perf.c as it is used by trace
> events only.
Otherwise, looks good (though I haven't tested it).
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature