From: Deepak R Varma <drv@mailo.com>
To: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Borislav Petkov <bp@alien8.de>,
Dave Hansen <dave.hansen@linux.intel.com>,
x86@kernel.org, "H. Peter Anvin" <hpa@zytor.com>,
linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Saurabh Singh Sengar <ssengar@microsoft.com>,
Praveen Kumar <kumarpraveen@linux.microsoft.com>,
Deepak R Varma <drv@mailo.com>
Subject: [PATCH v2 0/3] perf/x86: Use sysfs_emit() in show() callback function
Date: Tue, 21 Feb 2023 19:35:29 +0530 [thread overview]
Message-ID: <cover.1676987821.git.drv@mailo.com> (raw)
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 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 <peterz@infradead.org>
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 | 8 +++-----
arch/x86/events/intel/core.c | 6 +++---
arch/x86/events/intel/pt.c | 2 +-
3 files changed, 7 insertions(+), 9 deletions(-)
--
2.34.1
next reply other threads:[~2023-02-21 14:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 14:05 Deepak R Varma [this message]
2023-02-21 14:06 ` [PATCH v2 1/3] perf/x86/core: Use sysfs_emit() in show() callback function Deepak R Varma
2023-02-22 20:35 ` Peter Zijlstra
2023-02-23 4:55 ` Deepak R Varma
2023-02-26 17:36 ` Deepak R Varma
2023-02-21 14:06 ` [PATCH v2 2/3] perf/x86/intel/pt: " Deepak R Varma
2023-02-21 14:07 ` [PATCH v2 3/3] perf/x86/intel: " Deepak R Varma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1676987821.git.drv@mailo.com \
--to=drv@mailo.com \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=jolsa@kernel.org \
--cc=kumarpraveen@linux.microsoft.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=peterz@infradead.org \
--cc=ssengar@microsoft.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox