You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some applications need their counters enabled the entire period, or it's no use. These want to set the pinned bit in the perf_event_attr struct, which causes reads to return EOF if the counter wasn't scheduled.
The text was updated successfully, but these errors were encountered:
It's also essential to be able to set this when creating groups. So just changing Builder isn't sufficient.
Also, this is not just about setting the bit in the perf_event_attr struct. The Group and Counterread methods also need to be prepared for zero-length reads, which is how the interface reports that it was unable to put the counter on the CPU.
Some applications need their counters enabled the entire period, or it's no use. These want to set the
pinned
bit in theperf_event_attr
struct, which causes reads to return EOF if the counter wasn't scheduled.The text was updated successfully, but these errors were encountered: