aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDaniel Wagner <dwagner@suse.de>2021-04-01 11:54:10 +0200
committerChristoph Hellwig <hch@lst.de>2021-04-02 18:48:29 +0200
commitbff4bcf3cfc1595e0ef2aeb774b2403c88de1486 (patch)
tree6046cad188aae9b10e4b90dbb81b350cab378e14 /tools/perf/scripts/python/bin/stackcollapse-record
parentnvme-fc: check sgl supported by target (diff)
downloadlinux-bff4bcf3cfc1595e0ef2aeb774b2403c88de1486.tar.gz
linux-bff4bcf3cfc1595e0ef2aeb774b2403c88de1486.zip
nvme: use sysfs_emit instead of sprintf
sysfs_emit is the recommended API to use for formatting strings to be returned to user space. It is equivalent to scnprintf and aware of the PAGE_SIZE buffer size. Suggested-by: Chaitanya Kulkarni <Chaitanya.Kulkarni@wdc.com> Signed-off-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions