mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 15:40:53 +00:00
libsysprof: fix tx counter id
This commit is contained in:
@ -208,7 +208,7 @@ sysprof_network_usage_record_fiber (gpointer user_data)
|
|||||||
ctr, G_N_ELEMENTS (ctr));
|
ctr, G_N_ELEMENTS (ctr));
|
||||||
|
|
||||||
dev.rx_bytes_id = ctr[0].id;
|
dev.rx_bytes_id = ctr[0].id;
|
||||||
dev.tx_bytes_id = ctr[0].id;
|
dev.tx_bytes_id = ctr[1].id;
|
||||||
g_strlcpy (dev.iface, name, sizeof dev.iface);
|
g_strlcpy (dev.iface, name, sizeof dev.iface);
|
||||||
|
|
||||||
g_array_append_val (devices, dev);
|
g_array_append_val (devices, dev);
|
||||||
|
|||||||
Reference in New Issue
Block a user