• Sasha Goldshtein's avatar
    Simplify BCC symbol resolution API · febed330
    Sasha Goldshtein authored
    The new API has two main methods: `sym` and `ksym` (the second is
    a trivial wrapper of the first one). Both methods accept two
    Boolean flags arguments: `show_module` and `show_address`. The first
    controls whether the resulting symbol name should contain the name
    of the symbol's module, in brackets. For kernel symbols, this is
    simply "[kernel]". The second controls whether the resulting symbol
    name should contain the instruction offset from the beginning of
    the symbol, e.g. "start_thread+0x202".
    febed330
reference_guide.md 43 KB