janestreet/magic-trace

Better capability checking for if we can trace the kernel

Xyene opened this issue · 1 comments

Xyene commented

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.

hlian commented

@salaast is working on this!