Add a tool to visualize channels and applications
Timing reports have all the info on who is sending and who is receiving.
We can use that to create a graph of what is sending to what and
visually inspect our as-implemented system.
Change-Id: Ib0a9477870fab7a50fc500ff65485e4265ff7b1c
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/BUILD b/aos/BUILD
index 212c462..63046e7 100644
--- a/aos/BUILD
+++ b/aos/BUILD
@@ -614,3 +614,21 @@
"//aos/testing:googletest",
],
)
+
+cc_binary(
+ name = "aos_graph_channels",
+ srcs = [
+ "aos_graph_channels.cc",
+ ],
+ target_compatible_with = ["@platforms//os:linux"],
+ deps = [
+ "//aos:configuration",
+ "//aos:init",
+ "//aos:json_to_flatbuffer",
+ "//aos/events:simulated_event_loop",
+ "//aos/events/logging:log_reader",
+ "//aos/time",
+ "@com_github_gflags_gflags//:gflags",
+ "@com_github_google_glog//:glog",
+ ],
+)