Following table describes profiling support on Linux for different perf_event_paranoid values:
| Config | Profile Scope | perf_event_paranoid Values | |||
|---|---|---|---|---|---|
| -1 | 0 | 1 | 2 | ||
| Time Based Profiling | Specific Application or Process | Y | Y | Y | Y |
| Time Based Profiling | Kernel, Hypervisor | Y | Y | Y | N |
| Time Based Profiling | Entire System | Y | Y | N | N |
| Core PMC Event Based Profiling | Specific Application or Process | Y | Y | Y | Y |
| Core PMC Event Based Profiling | Kernel, Hypervisor | Y | Y | Y | N |
| Core PMC Event Based Profiling | Entire System | Y | Y | N | N |
| Instruction Based Sampling | Specific Application | Y | Y | Y | N |
| Instruction Based Sampling | Attach Specific Process | Y | Y | N | N |
| Instruction Based Sampling | Entire System | Y | Y | N | N |