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

    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),

    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 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:0.988 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site