[lkml]   [2008]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: [patch] x86, ptrace: in-kernel BTS interface
>-----Original Message-----
>From: Andi Kleen []
>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.

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.

 \ /
  Last update: 2008-05-05 08:29    [W:0.053 / U:1.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site