From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 61C3642B6F for ; Mon, 22 May 2023 10:14:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51222410F2; Mon, 22 May 2023 10:14:49 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 8624D4014F; Thu, 18 May 2023 15:47:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1684417657; x=1715953657; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sVTQ3ldfymRsph7/DABejjaaGHQqpGUMEbZhtoIhY2k=; b=mwYrcZc9J9cOTV6cOIvugsrFUuLA0BWK5Lw3QvUqGPDRCEZCH2QO/BPi PZT0nNEoiL4WlCTSdpsOcWHvgQpa3cuHyF0zHeZDoKdtE2zrA7otCxkYJ 3LCPL04DyV3IvZkyQT06OPKo/msHwEpSIkY5aegH6X0wLhAMCwUAGiX5h ffkAQbTmQviGprhC/C//MsB2VZZ9Hvei5sbHstN9h/Lyh9Y0BC1Ivo6Aj BUY6NkVZyafGe4rb/mxIPJ2D2svFpajWLt1rBxVf6HVnLogTMfGrcDQ8L S0EGAvg5hgXdca9q9t3U/5whX/ChhOKK8xK8rFURzs33epH8rgGPEuRm0 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="331683405" X-IronPort-AV: E=Sophos;i="5.99,285,1677571200"; d="scan'208";a="331683405" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2023 06:47:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10714"; a="826382713" X-IronPort-AV: E=Sophos;i="5.99,285,1677571200"; d="scan'208";a="826382713" Received: from silpixa00400868.ir.intel.com ([10.243.23.113]) by orsmga004.jf.intel.com with ESMTP; 18 May 2023 06:47:33 -0700 From: Samina Arshad To: Ciara Power Cc: dev@dpdk.org, tadhg.kearney@intel.com, stable@dpdk.org, Samina Arshad , lihuisong@huawei.com Subject: [PATCH v1] usertools/telemetry: fix unused parameter Date: Thu, 18 May 2023 13:47:30 +0000 Message-Id: <20230518134730.68538-1-samina.arshad@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 22 May 2023 10:14:48 +0200 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org This bug fix ensures that the runtime socket path is generated correctly, based on the user-specified file_prefix value, resolving the issue that occurred in the previous implementation. Fixes: a15fc792cfb6 ("usertools/telemetry: add file prefix argument") Cc: lihuisong@huawei.com Cc: stable@dpdk.org Signed-off-by: Samina Arshad --- usertools/dpdk-telemetry-client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usertools/dpdk-telemetry-client.py b/usertools/dpdk-telemetry-client.py index d6718ca5b0..3441b6b02e 100755 --- a/usertools/dpdk-telemetry-client.py +++ b/usertools/dpdk-telemetry-client.py @@ -55,7 +55,7 @@ def getFilepath(self, file_path): # Gets arguments from Command-Line and assigns to instance of client self.file_path = file_path - def setRunpath(self, file_path): + def setRunpath(self, file_prefix): self.run_path = os.path.join(get_dpdk_runtime_dir(args.file_prefix), RUNTIME_SOCKET_NAME) -- 2.25.1