Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8BD9C64ED6 for ; Sun, 26 Feb 2023 17:30:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbjBZRaM (ORCPT ); Sun, 26 Feb 2023 12:30:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbjBZRaK (ORCPT ); Sun, 26 Feb 2023 12:30:10 -0500 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA1CD9EDA; Sun, 26 Feb 2023 09:30:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1677432549; bh=VQmwNmVrAERV0zN52XhLlnOd5K9FjwrR9MXapkDvdkk=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:MIME-Version: Content-Type; b=ST3Bq0j8flgBd6CLSpBJaJp821SJDlonXvm4MC3a9b5kCdeDdGGqsZyPo2YFtTyl9 30VynAylFQYXRwNiwIRGE0VNjTVtsIpkecjPZXnvrTGkJiuGbOUqVkH4Vypld06aaF lOIKLjMJD+PfNxsvS7h8clsJjzHHea1WQ/MviJwA= Received: by b-2.in.mailobj.net [192.168.90.12] with ESMTP via ip-206.mailobj.net [213.182.55.206] Sun, 26 Feb 2023 18:29:09 +0100 (CET) X-EA-Auth: fkael2mfZj+SFGnPYpQJxaRTFt8nbZgb0FI/WJuBiFNB4gmTZwi2/c/B3LBGMFgQsEyabOWooddcVQlQ9viqwd06bM7POPOh Date: Sun, 26 Feb 2023 22:59:03 +0530 From: Deepak R Varma To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Saurabh Singh Sengar , Praveen Kumar , Deepak R Varma Subject: [PATCH v3 0/3] perf/x86: Use sysfs_emit() in show() callback function Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch set proposes to replace use of sprintf family function usage for formatting data to be returned to the user space using show callback functions. The modified files have the same maintainer list though they correspond to different drivers. Since its the same, I clubbed these into a patch set. If this is not correct, I can send in individual driver specific patches. Changes in v3: - For patch 1, an erroneous change proposed was removed. Feedback provided by Peter Zijlstra - No changes for Patch 2 and 3 of the series. Changes in v2: 1. Update the patch log message to provide details on the problem associated with current implementation and how the proposal is a better solution. Feedback provided by Peter Zijlstra Deepak R Varma (3): perf/x86/core: Use sysfs_emit() in show() callback function perf/x86/intel/pt: Use sysfs_emit() in show() callback function perf/x86/intel: Use sysfs_emit() in show() callback function arch/x86/events/core.c | 4 ++-- arch/x86/events/intel/core.c | 6 +++--- arch/x86/events/intel/pt.c | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) -- 2.34.1