• Sasha Goldshtein's avatar
    tplist: Print USDT locations and arguments (#734) · 6e91a74b
    Sasha Goldshtein authored
    * cc: Add USDT location and argument reporting
    
    libbcc now exposes USDT location and argument information using
    two new APIs: `bcc_usdt_get_location` and `bcc_usdt_get_argument`.
    
    * python: Retrieve USDT locations and arguments
    
    Add wrappers in the libbcc.py file to access the new APIs for
    retrieving USDT location and argument information. Also add
    high-level classes in usdt.py to access this information and
    format arguments and locations in a shape suitable for display.
    
    * tplist: Print USDT locations and arguments
    
    Add super-verbose mode (-vv) to tplist where it prints USDT locations
    and arguments including full detail on registers, offsets, and global
    identifier offsets.
    6e91a74b
usdt.h 5.71 KB