This repository was archived by the owner on Apr 2, 2025. It is now read-only.
Commit c779ab0
committed
add description that blocktime event is only for 4.3 or newer
In some kernels, although the version is older than 4.3, but their perf_event.h provide attribute context_switch which is in theory only available with kernel 4.3 or newer.
If this is the case, the configure will think the current platform is the new one, and "activate" kernel blocking module (BLOCTIME event). There is no build error nor crash during execution time. Only undefined event.1 parent 6a790af commit c779ab0
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
290 | 293 | | |
291 | 294 | | |
292 | 295 | | |
| |||
0 commit comments