magic-trace
magic-trace copied to clipboard
Better capability checking for if we can trace the kernel
Ref https://perf.wiki.kernel.org/index.php/Perf_tools_support_for_Intel%C2%AE_Processor_Trace#Adding_capabilities_to_perf
Right now we just check if the user is root, which covers most cases but isn't precise.
@salaast is working on this!