Cover Detail
Show a cover letter.
GET /api/covers/98738/?format=api
http://patchwork.dpdk.org/api/covers/98738/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20210913105137.130097-1-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patchwork.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20210913105137.130097-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210913105137.130097-1-bruce.richardson@intel.com", "date": "2021-09-13T10:51:34", "name": "[0/3] improvements for telemetry script", "submitter": { "id": 20, "url": "http://patchwork.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20210913105137.130097-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 18867, "url": "http://patchwork.dpdk.org/api/series/18867/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18867", "date": "2021-09-13T10:51:34", "name": "improvements for telemetry script", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18867/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/98738/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 96AAFA0C45;\n\tMon, 13 Sep 2021 12:51:59 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0FC0C40151;\n\tMon, 13 Sep 2021 12:51:59 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id D4F2B4014F\n for <dev@dpdk.org>; Mon, 13 Sep 2021 12:51:57 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Sep 2021 03:51:55 -0700", "from silpixa00399126.ir.intel.com ([10.237.223.29])\n by fmsmga006.fm.intel.com with ESMTP; 13 Sep 2021 03:51:53 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10105\"; a=\"219763464\"", "E=Sophos;i=\"5.85,288,1624345200\"; d=\"scan'208\";a=\"219763464\"", "E=Sophos;i=\"5.85,288,1624345200\"; d=\"scan'208\";a=\"696638904\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "ciara.power@intel.com, david.hunt@intel.com,\n Bruce Richardson <bruce.richardson@intel.com>", "Date": "Mon, 13 Sep 2021 11:51:34 +0100", "Message-Id": "<20210913105137.130097-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.30.2", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 0/3] improvements for telemetry script", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Patch 1 fixes errors reported by flake8 in the telemetry python script.\nInspired by the work by Dave Hunt [1] the final two patches look to adjust the\nscript so that it works nicer when commands come from an input pipe rather than\nfrom an interactive terminal.\n\nWithout this set:\n $ echo \"/eal/params\" | ./usertools/dpdk-telemetry.py\n Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2\n {\"version\": \"DPDK 21.11.0-rc0\", \"pid\": 130033, \"max_output_len\": 16384}\n Connected to application: \"dpdk-test\"\n --> {\"/eal/params\": [\"./build/app/test/dpdk-test\", \"-c\", \"F\", \"--no-huge\"]}\n --> Traceback (most recent call last):\n File \"/home/bruce/dpdk.org/./usertools/dpdk-telemetry.py\", line 109, in <module>\n handle_socket(os.path.join(rdir, 'dpdk_telemetry.{}'.format(TELEMETRY_VERSION)))\n File \"/home/bruce/dpdk.org/./usertools/dpdk-telemetry.py\", line 78, in handle_socket\n text = input('--> ').strip()\n EOFError: EOF when reading a line\n\nWith this patchset:\n $ echo \"/eal/params\" | ./usertools/dpdk-telemetry.py\n {\"/eal/params\": [\"./build/app/test/dpdk-test\", \"-c\", \"F\", \"--no-huge\"]}\n\n\n[1] http://patches.dpdk.org/project/dpdk/patch/20210909155625.24581-1-david.hunt@intel.com/\n\nBruce Richardson (3):\n usertools/dpdk-telemetry: fix flake8 errors\n usertools/dpdk_telemetry: fix handling EOF for input pipe\n usertools/dpdk-telemetry: silence prompts for input pipes\n\n usertools/dpdk-telemetry.py | 38 ++++++++++++++++++++++---------------\n 1 file changed, 23 insertions(+), 15 deletions(-)\n\n--\n2.30.2" }{ "id": 98738, "url": "