Re: [PATCH 09/11] perf python: Link with libtraceevent

From: Arnaldo Carvalho de Melo
Date: Sat Oct 20 2012 - 11:04:39 EST


Em Sat, Oct 20, 2012 at 02:35:57AM +0200, Ingo Molnar escreveu:
> Even with that I'm getting:
>
> util/python.c: In function âinitperfâ:
> util/python.c:1018:2: error: âpage_sizeâ undeclared
> (first use in this function)
> util/python.c:1018:2: note: each undeclared identifier is
> reported only once for each function it appears in
> error: command 'gcc' failed with exit status 1

Yeah, there was another problem, a patch that makes sense only for
perf/core was added, I reverted it after Namhyung reported the same
problem:

commit 9cd938a4c3b908a3ff7ef65bdc432f1915361e87
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Date: Thu Oct 18 10:51:08 2012 -0300

Revert "perf python: Initialize 'page_size' variable"

The commit that added the page_size variable is only in the perf/core
branch, not needed for perf/urgent. Brown paper bag grade, sigh.

This reverts commit 356712f6e296fdae1edae51b96b485ed830bdc0c.

Reported-by: Namhyung Kim <namhyung@xxxxxxxxxx>
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/