• Vicent Marti's avatar
    cc: Add a set of process utils written in C/C++ · b366ede5
    Vicent Marti authored
    These APIs mimic behavior that was being performed using native tools.
    
    - bcc_procutils_which_so: resolves a short library name into a full path
      so a shared object. Equivalent to `ldconfig -p`
    - bcc_procutils_which: resolves a short name into a full path to a
      binary. Equivalent to a shell's builtin `which`
    - bcc_procutils_each_module: lists all the modules loaded in a process'
      memory space. Uses the kernel's `/proc/$pid/maps`
    - bcc_procutils_each_ksym: lists all symbols and addresses for the
      kernel. Uses the kernel's `/proc/kallsyms`
    b366ede5
CMakeLists.txt 3.34 KB