std.os.linux: Fix default value for perf_event_attr.clockid field.

Closes #20810.
This commit is contained in:
Alex Rønne Petersen
2024-07-26 21:19:16 +02:00
committed by Andrew Kelley
parent eab934814f
commit 66b71273a2

View File

@@ -7175,7 +7175,7 @@ pub const perf_event_attr = extern struct {
/// Defines size of the user stack to dump on samples.
sample_stack_user: u32 = 0,
clockid: clockid_t = 0,
clockid: clockid_t = .REALTIME,
/// Defines set of regs to dump for each sample
/// state captured on:
/// - precise = 0: PMU interrupt