linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] perf/x86: Use sysfs_emit() in show() callback function
@ 2023-02-26 17:29 Deepak R Varma
  2023-02-26 17:30 ` [PATCH v3 1/3] perf/x86/core: " Deepak R Varma
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Deepak R Varma @ 2023-02-26 17:29 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
	Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
	Thomas Gleixner, Borislav Petkov, Dave Hansen, x86,
	H. Peter Anvin, linux-perf-users, linux-kernel
  Cc: Saurabh Singh Sengar, Praveen Kumar, Deepak R Varma

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 <peterz@infradead.org>
   - 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 <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       | 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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-26 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-26 17:29 [PATCH v3 0/3] perf/x86: Use sysfs_emit() in show() callback function Deepak R Varma
2023-02-26 17:30 ` [PATCH v3 1/3] perf/x86/core: " Deepak R Varma
2023-02-26 17:30 ` [PATCH v3 2/3] perf/x86/intel/pt: " Deepak R Varma
2023-02-26 17:31 ` [PATCH v3 3/3] perf/x86/intel: " Deepak R Varma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).