mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
Fix printing of PC_COUNT perf counters
This commit is contained in:
@@ -27,7 +27,7 @@ define _perf_print
|
|||||||
# PC_COUNT
|
# PC_COUNT
|
||||||
if $hdr->type == 0
|
if $hdr->type == 0
|
||||||
set $count = (struct perf_ctr_count *)$hdr
|
set $count = (struct perf_ctr_count *)$hdr
|
||||||
printf "%llu events,\n", $count->event_count;
|
printf "%llu events\n", $count->event_count
|
||||||
end
|
end
|
||||||
# PC_ELPASED
|
# PC_ELPASED
|
||||||
if $hdr->type == 1
|
if $hdr->type == 1
|
||||||
|
|||||||
Reference in New Issue
Block a user