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

From: Metzger, Markus T
Date: Tue Aug 11 2009 - 08:03:48 EST


>-----Original Message-----
>From: Ingo Molnar [mailto:mingo@xxxxxxx]
>Sent: Monday, August 10, 2009 3:46 PM
>To: Metzger, Markus T
>Cc: Peter Zijlstra; tglx@xxxxxxxxxxxxx; hpa@xxxxxxxxx; markus.t.metzger@xxxxxxxxx; linux-
>kernel@xxxxxxxxxxxxxxx; Paul Mackerras
>Subject: Re: [PATCH] perf_counter: Fix a race on perf_counter_ctx
>
>
>* 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?

Yes and yes.

regards,
markus.
---------------------------------------------------------------------
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen Germany
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Douglas Lusk, Peter Gleissner, Hannes Schwaderer
Registergericht: Muenchen HRB 47456 Ust.-IdNr.
VAT Registration No.: DE129385895
Citibank Frankfurt (BLZ 502 109 00) 600119052

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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