RE: [patch] x86, ptrace: in-kernel BTS interface
From: Metzger, Markus T
Date: Mon May 05 2008 - 02:26:29 EST
>-----Original Message-----
>From: Andi Kleen [mailto:andi@xxxxxxxxxxxxxx]
>Sent: Mittwoch, 30. April 2008 18:06
>> >I'm not quite sure on the kernel interface. How would a in kernel
>> >subsystem use it for tracing itself for example?
>>
>> The task parameter would be current.
>>
>> Apart from that, you would use it the same way it is used in
>> arch/x86/kernel/ptrace.c.
>
>Hmm, sounds a little too complicated. Surely that could be easier?
Actually, it's just a bts_request() followed by a bts_configure() call.
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/