lkml.org 
[lkml]   [2008]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subject[patch 0/4] Port KVM-trace to tracepoints
    Hi,

    Here is a port of KVM-trace, currently using macros on top of the Linux Markers,
    to tracepoints. Note that I cleaned up the instrumentation too, so stuff like

    KVMTRACE_3D(CR_WRITE, vcpu, (u32)cr,
    (u32)kvm_register_read(vcpu, reg),
    (u32)((u64)kvm_register_read(vcpu, reg) >> 32),
    handler);

    Sprinkled all across the KVM C code becomes :

    trace_kvm_cr_write(vcpu, cr, reg);

    Which looks much nicer, IMHO.

    It applies on top of linux-next patch-v2.6.26-next-20080715.

    Mathieu


    --
    Mathieu Desnoyers
    Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
    OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68


    \
     
     \ /
      Last update: 2008-07-17 18:05    [W:0.018 / U:59.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site