lkml.org 
[lkml]   [2023]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH v2 0/3] perf/x86: Use sysfs_emit() in show() callback function
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



\
 
 \ /
  Last update: 2023-03-27 00:30    [W:0.119 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site