perf: fix undefined pr_* routines
authorBruce Ashfield <bruce.ashfield@windriver.com>
Wed, 1 Oct 2014 04:43:36 +0000 (00:43 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2014 23:42:43 +0000 (00:42 +0100)
commite78878a6b725927c1ab1978c8456ace5e0128fc0
treea33664a89f5d98674069f75ffa5d6ecc03531f97
parent01da6ac1be3f4637841f7c73a3afcd5810a77cb2
perf: fix undefined pr_* routines

When cross compiling libunwind support for ARM a missing debug include means
that pr* macros are not expanded, and hence link failures on the undefined
functions.

Since we must be compatible with many versions of the kernel and perf, we
sed the proper include into the files, while the permanent fix goes upstream
to the mainline kernel.

(From OE-Core rev: 81bb7a163d7e3c0bdcc72894ef731521d58edf90)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb