std.os.linux: Fix default value for perf_event_attr.clockid field.
Closes #20810.
This commit is contained in:
committed by
Andrew Kelley
parent
eab934814f
commit
66b71273a2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user