RE: [patch] x86, perf_counter, bts: add bts to perf_counter

From: Metzger, Markus T
Date: Fri Aug 07 2009 - 07:18:00 EST


>-----Original Message-----
>From: Metzger, Markus T
>Sent: Friday, August 07, 2009 12:58 PM
>To: Ingo Molnar
>Cc: Peter Zijlstra; tglx@xxxxxxxxxxxxx; hpa@xxxxxxxxx; markus.t.metzger@xxxxxxxxx; linux-
>kernel@xxxxxxxxxxxxxxx
>Subject: RE: [patch] x86, perf_counter, bts: add bts to perf_counter
>
>
>
>>-----Original Message-----
>>From: Ingo Molnar [mailto:mingo@xxxxxxx]
>>Sent: Friday, August 07, 2009 12:36 PM
>>To: Metzger, Markus T
>>Cc: Peter Zijlstra; tglx@xxxxxxxxxxxxx; hpa@xxxxxxxxx; markus.t.metzger@xxxxxxxxx; linux-
>>kernel@xxxxxxxxxxxxxxx
>>Subject: Re: [patch] x86, perf_counter, bts: add bts to perf_counter
>>
>>
>>this simple test still locks up on latest -tip (which has your
>>latest patch):
>>
>> titan:~> perf record -f -e branches -c 1 ./loop_1b_instructions
>>
>>on a Core2Duo CPU.
>
>This time, I can't reproduce the problem. I'm running three "perf record" of simple endless
>loop programs in parallel since several minutes on my a-few-days-old -tip plus my patch.


Ingo, what exactly do you mean by "locks up"? Is the kernel hanging or is perf record hanging?

What I'm seeing is that perf record hangs when I try to ^C it. It tries to collect the rest of
the branch trace but trace is generated so fast that it never completes.

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/