Messages in this thread | | | Subject | RE: [patch] x86, ptrace: in-kernel BTS interface | Date | Mon, 5 May 2008 07:25:53 +0100 | From | "Metzger, Markus T" <> |
| |
>-----Original Message----- >From: Andi Kleen [mailto:andi@firstfloor.org] >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.
| |