dbus tools: print averages 62/271462/5
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 28 Jan 2022 13:59:10 +0000 (14:59 +0100)
committerAdrian Szyndela <adrian.s@samsung.com>
Wed, 9 Mar 2022 13:48:56 +0000 (14:48 +0100)
commitcac411982995ed094ec7a3a29aa22338a9f4971b
tree2b12ab2e406208b0da23a6c53826898967ef7e40
parent0c46155b2e1f1ded646d7060cfa5ae6ddb28b58d
dbus tools: print averages

This adds collecting and printing of average timings for
the dbus tools. Unfortunately, it is in a copy & paste style
as I didn't find a way to share BPF maps code between the tools.
I've even tried static implementation in an included header. Doesn't work.
Apparently bcc needs it in one file, analysed by bcc, before
it is passed to libllvm's preprocessor.

Change-Id: Id1c259b47ee7cfb0b05ac36d4800ea041af11e9c
tools/dbus-glib-client-sending.c
tools/dbus-glib-client-sending.py
tools/dbus-glib-receiving.c
tools/dbus-glib-receiving.py
tools/dbus-glib-sending.c
tools/dbus-glib-sending.py
tools/dbus-latency.c
tools/dbus-latency.py