• Stefan Hajnoczi's avatar
    trace: add DTrace reserved words for .d files · 0b7e89b1
    Stefan Hajnoczi authored
    DTrace on Mac OS X fails due to trace events using 'self' as an argument
    name:
    
      GEN   trace/generated-tracers-dtrace.h
    dtrace: failed to compile script trace/generated-tracers-dtrace.dtrace: line 1330: syntax error, unexpected DT_KEY_SELF, expecting ) near "self"
    make: *** [trace/generated-tracers-dtrace.h] Error 1
    
    Filter argument names according to the list of DTrace .d file reserved
    keywords.
    
    Note that DTrace on Mac and Linux still do not work after this patch.
    There are additional build issues remaining.
    Reported-by: 's avatarHenk Poley <henkpoley@gmail.com>
    Tested-by: 's avatarHenk Poley <henkpoley@gmail.com>
    Cc: Lluís Vilanova <vilanova@ac.upc.edu>
    Signed-off-by: 's avatarStefan Hajnoczi <stefanha@redhat.com>
    0b7e89b1
Name
Last commit
Last update
..
backend Loading commit data...
format Loading commit data...
__init__.py Loading commit data...
transform.py Loading commit data...