aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2019-03-28 10:38:06 +0000
committerBartosz Golaszewski <[email protected]>2019-03-28 17:04:53 +0000
commitce9fb53c72834646f26ecb2213e40e6876048f87 (patch)
tree495c2e6fcc3c0f681257936101b19479f2ab91d0 /tools/perf/scripts/python/intel-pt-events.py
parentgpio: mockup: fix debugfs read (diff)
downloadkernel-ce9fb53c72834646f26ecb2213e40e6876048f87.tar.gz
kernel-ce9fb53c72834646f26ecb2213e40e6876048f87.zip
gpio: mockup: use simple_read_from_buffer() in debugfs read callback
Calling read() for a single byte read will return 2 currently. Use simple_read_from_buffer() which correctly handles all sizes. Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface") Reviewed-by: Mukesh Ojha <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions