Closed namhyung closed 3 years ago
Add sum() function to calculate total number of some events.
# cat readsize.ply tracepoint:syscalls/sys_exit_read { if (data->ret > 0) @bytes[comm] = sum(data->ret); } # ply -c 'dd if=/dev/zero of=/dev/null bs=1k count=400' readsize.ply ply: active 400+0 records in 400+0 records out 409600 bytes (410 kB, 400 KiB) copied, 0.000530946 s, 771 MB/s ply: deactivating @bytes: { ply }: 4 { pipewire-media- }: 64 { gnome-terminal- }: 161 { sh }: 2496 { dd }: 413428
Looks like the arm-check is unstable.
It is very stable - :100: % fail rate :grin:
Since #70 has now been merged, do you mind updating this?
Thanks for these awesome contributions! :heart:
Updated, thanks!
Add sum() function to calculate total number of some events.