Using debugging tools

Running perf tool on Container-Optimized OS

By default, perf is installed on Container-Optimized OS. You can run perf on your cos instance from your shell command line.

You might need to enable the use of the performance events system if you have limited privilege using the following command:

echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid

For information on how to use perf, refer to the perf manual and the kernel sysctl settings.