count occurrences of events
An example of counting the occurrence of page-faults
? .my_counter = 0;!exception 0xe pid 4 script {
.Result = interlocked_increment(&.my_counter);
}print .my_counterLast updated
An example of counting the occurrence of page-faults
? .my_counter = 0;!exception 0xe pid 4 script {
.Result = interlocked_increment(&.my_counter);
}print .my_counterLast updated