RE: [patch 0/2] x86, ptrace: support for branch trace store(BTS)

From: Metzger, Markus T
Date: Fri Nov 30 2007 - 10:50:02 EST


>yep, i already tried to check how well it integrates to x86.git:

I ported it to scm/linux/kernel/git/x86/linux-2.6-x86.git mm.
I will send out the patch and then look at the below discussion.


>the code does not seem to be layered correctly: i'd suggest to
>read the
>discussion between Roland McGrath and Alan Stern on lkml, about kwatch
>-> hw_breakpoint, to see how a more general debugging framework
>can/should be built. These things shouldnt be limited to user-space
>alone, the kernel could probably use hardware tracing even more than
>user-space could. (because it's a much harder to debug environment)


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/