On Fri, 10 Aug 2018 07:59:30 -0400
Eelco Chaudron <echau...@redhat.com> wrote:

> +             if (bs.bytes >= bs_hw.bytes && bs.packets >= bs_hw.packets) {
> +                     print_string(PRINT_FP, NULL, "%s", _SL_);
> +                     print_string(PRINT_FP, NULL, "%s", prefix);
> +                     print_lluint(PRINT_ANY, "sw_bytes",
> +                                  "Sent software %llu bytes",
> +                                  bs.bytes - bs_hw.bytes);
> +                     print_uint(PRINT_ANY, "sw_packets", " %u pkt",
> +                                bs.packets - bs_hw.packets);
> +             }
> +     }
> +
> +     print_string(PRINT_FP, NULL, "%s", _SL_);
> +     print_string(PRINT_FP, NULL, "%s", prefix);
> +     print_lluint(PRINT_ANY, "hw_bytes", "Sent hardware %llu bytes",
> +                  bs_hw.bytes);

What does the output look like?

Reply via email to