2023-07-28 18:23:54

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: [BlueZ PATCH v4 2/3] monitor: Update documentation

From: Luiz Augusto von Dentz <[email protected]>

This updates the documentation to mention gnuplot usage.
---
monitor/btmon.rst | 4 +++-
monitor/main.c | 3 +++
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/monitor/btmon.rst b/monitor/btmon.rst
index 0ab13eb2eb5c..82f9381c151d 100644
--- a/monitor/btmon.rst
+++ b/monitor/btmon.rst
@@ -33,7 +33,9 @@ OPTIONS
-w FILE, --write FILE Save traces in btsnoop format to *FILE*.
-a FILE, --analyze FILE Analyze traces in btsnoop format from *FILE*.
It displays the devices found in the *FILE* with
- its packets by type.
+ its packets by type. If gnuplot is installed on
+ the system it also attempts to plot packet latency
+ graph.
-s SOCKET, --server SOCKET Start monitor server socket.
-p PRIORITY, --priority PRIORITY Show only priority or lower for user log.

diff --git a/monitor/main.c b/monitor/main.c
index decf7cc467f2..fa56fcb29f38 100644
--- a/monitor/main.c
+++ b/monitor/main.c
@@ -51,6 +51,9 @@ static void usage(void)
"\t-r, --read <file> Read traces in btsnoop format\n"
"\t-w, --write <file> Save traces in btsnoop format\n"
"\t-a, --analyze <file> Analyze traces in btsnoop format\n"
+ "\t If gnuplot is installed on the\n"
+ "\t system it will also attempt to plot\n"
+ "\t packet latency graph.\n"
"\t-s, --server <socket> Start monitor server socket\n"
"\t-p, --priority <level> Show only priority or lower\n"
"\t-i, --index <num> Show only specified controller\n"
--
2.41.0