Skip to content

Commit

Permalink
fix(patch): Fix build on old Linux versions (#244)
Browse files Browse the repository at this point in the history
Fix build on Linux pre 5.13 kernels.
  • Loading branch information
hassila authored Apr 25, 2024
1 parent 54b4695 commit 8520cdd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static void CLinuxPerformanceCountersInit() {
pe.exclude_kernel = 1;
pe.exclude_hv = 1;
pe.inherit = 1;
pe.inherit_thread = 1;
// pe.inherit_thread = 1; // Disabled for now as Linux 5.13 is not in widespread use yet
pe.inherit_stat = 1;
pe.pinned = 1;

Expand Down

0 comments on commit 8520cdd

Please sign in to comment.