aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-02-11 13:27:10 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-17 17:29:05 +0100
commitcfd87832dfa1b69069d3e6c598044a5568e1a1ef (patch)
tree214abd1da909d1d8299c928c5876cb134aab479e /tools/perf/scripts/python/exported-sql-viewer.py
parent72c068a1c71ffac8d522ad50beda775b45cd5953 (diff)
staging: axis-fifo: Use sysfs_emit()
sysfs_read() is anly called from _show() functions declared by DEVICE_ATTR_RW(). Using sysfs_emit() is the preferred style and here, it saves a useless copy and a temporary buffer in the stack. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/588327734f374b5f5cb5c4d5725d884fdc83663e.1707654406.git.christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions