Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1575478rwb; Fri, 28 Jul 2023 11:23:54 -0700 (PDT) X-Google-Smtp-Source: APBJJlG0fz0qcOrn0ZuZf6C1ywFZoWwFUuvBUQu1pNIIpTIPaVIh6pcPHl1ceNoISmsE7yP1zvrh X-Received: by 2002:a19:4305:0:b0:4f8:56cd:da8c with SMTP id q5-20020a194305000000b004f856cdda8cmr1989304lfa.34.1690568634497; Fri, 28 Jul 2023 11:23:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690568634; cv=none; d=google.com; s=arc-20160816; b=M3nzK/Cg0vvISbPh4o2oF1SH13mKhzglet6VfA6qmvl/flOOzzTzT1X+mm6MsQUlum X+np8FShHO5gqFSu1iiHoQKKEaXf7PEq4AN1neCJXc8JPp1casWfpOL0aQqodKg5ajr0 JSFzunPX07uFPWD0nsPcVHOLbdiciJV1LjHkz++aLTwaQ7iuEi0jdaob4LcD/Ey4AQz+ nl6E3F3YkGIDXlhy5XvNEOd9N3+JmUtNQmep5SspwGyAPRS7DtoCWtuxBXINR5Iyl0tC 5cj/oNIM0bg9FDhCXf47IpXuu4dnjFVAZXzGb4Iton0D/BZc9K5k4OLH9FEQ+H3zpG8z Xbkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=Gq/xN/8W0GSGo1Vn6uul++xq/XHjSuMSQtXh1disr3g=; fh=V2LL5OuZUBGeSu6TXDWykcThOoazTGUpkln19rrO2KM=; b=K8vG/Z84mxVDo5h2VY8qW8r8onVWyLf7XAInqTEsHfKI1zpvBKfNSxCke1B5fwjPN/ sL6AbQpVudrc2nSNr4VoqCSeriY1BuM77OnWcX46SRRs0nUUhs0KXE20VN+hBaqiUc52 EiZQWCJhPSxAg11ag5VANrGHmFHMuWWKtFlYhATeJA3H+Hx9ryk9z8ueXo11JxFenhjo PIR+cUSOen4pJn85YHAudCtQNCME5GLg5rmcCJHhUKSDRgGVrx+tpwEoBJ/K/zD1ESiq HDnjmCY8y30R1K/t+ZU3RSvmDy4WyyQ3rtFttj76Lerozi67op0VbMLa/L6szJ+vuhvn eMDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rbHJ6S9U; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020a056402115400b005223a54229fsi2834471edw.176.2023.07.28.11.23.24; Fri, 28 Jul 2023 11:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rbHJ6S9U; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjG1R7p (ORCPT + 99 others); Fri, 28 Jul 2023 13:59:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49362 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234770AbjG1R7n (ORCPT ); Fri, 28 Jul 2023 13:59:43 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 354863C1F for ; Fri, 28 Jul 2023 10:59:42 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-686ea67195dso1839770b3a.2 for ; Fri, 28 Jul 2023 10:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690567180; x=1691171980; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Gq/xN/8W0GSGo1Vn6uul++xq/XHjSuMSQtXh1disr3g=; b=rbHJ6S9UaimBrUN9ox/kvzs/5kjCsgOV17MMn/NoiaShd42axpKctPUpZvGCz4nVWH O7bBhn0LmBn6HIA7rfu1ftLHYvsTmVqsnD7OElf4RuhH3cfY93OZcwO27xg5kkqZJVgM FX+60JCQmO0nx9RdG6PT3M6uFd57Op+sKu8EZLX4lr+D4/kBJBVtQ4ID/tAoAOky/nZI iZ4Pyp2n6ciCwJ0hoBhlsnGyLdZOWlobZXEBmwLgNbIGVlkOw795AbinBKzQHeJcZU2T V5A1q8lmbemnoYSwNx8z5wG4HIVRk4IQj3JWF1W8sW/WRD7LHMtTSnvKORhnG9bIlIEw Amwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690567180; x=1691171980; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Gq/xN/8W0GSGo1Vn6uul++xq/XHjSuMSQtXh1disr3g=; b=JiX5wvyg15EFFMfXkSrObZo7lyXFqQN0W0NfxMws2eGI0W8ydkgFNBheLh7i+NT++e +GNrXEkdv35BNftsmAY7t97Cb4av1P2mMIf2pq9QOUy9NrtEYAPhVFzaf3CoKc0kUfUx qTAWDRynY1gjRAnYw+jYzIPEVGUgn2i59v3dSVrYygrbL8RDpuZIiVU8X9DvZrW+Y4Ww 9nNi4RXlOIwv5E0Ic+oIHElec1/eQGRG4Uv/GtssSPrrXg08fY+WIFzQx2e1zS/O1PXO e3aoD0cWj+C46SpDBbA4hYxDCMD2OcbT4/L5rKXEEcmx/69JPh7BDH9ObGmnlRAU2zLc AqhQ== X-Gm-Message-State: ABy/qLYuL0hLIO5bm3TX9ysBWeEbWfFdHahKKhVU8y3Jqnv1G41WmrF7 6DfdnhfgtZBETFolWAWel1HggJGXC9s= X-Received: by 2002:a05:6a20:1447:b0:138:1980:1dd3 with SMTP id a7-20020a056a20144700b0013819801dd3mr2441488pzi.14.1690567180494; Fri, 28 Jul 2023 10:59:40 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-236-201-58.hsd1.or.comcast.net. [71.236.201.58]) by smtp.gmail.com with ESMTPSA id d7-20020aa78147000000b0068718aadda7sm427796pfn.108.2023.07.28.10.59.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jul 2023 10:59:39 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [BlueZ PATCH v4 2/3] monitor: Update documentation Date: Fri, 28 Jul 2023 10:59:36 -0700 Message-ID: <20230728175937.42818-2-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230728175937.42818-1-luiz.dentz@gmail.com> References: <20230728175937.42818-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Luiz Augusto von Dentz 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 Read traces in btsnoop format\n" "\t-w, --write Save traces in btsnoop format\n" "\t-a, --analyze 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 Start monitor server socket\n" "\t-p, --priority Show only priority or lower\n" "\t-i, --index Show only specified controller\n" -- 2.41.0