Re: [PATCH] perf_counter: Fix a race on perf_counter_ctx

From: Ingo Molnar
Date: Mon Aug 10 2009 - 09:46:24 EST



* Metzger, Markus T <markus.t.metzger@xxxxxxxxx> wrote:

> I've been using some old version of perf. When I try to build the
> version for the latest -tip, I get the following build error:
>
> builtin-annotate.o: In function `print_summary':
> /home/markus/linux/git-tip/tools/perf/builtin-annotate.c:1211: undefined reference to `rb_first'
> /home/markus/linux/git-tip/tools/perf/builtin-annotate.c:1223: undefined reference to `rb_next'
> builtin-annotate.o: In function `insert_source_line':

Weird. How do you build perf? Do you do:

cd tools/perf/
make

? does your build directory have the ../../lib/rbtree.c file?

Ingo

--
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/