aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2020-09-17 15:59:51 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-17 18:56:10 +0100
commite16e0a778fec8ac1b3755c9c4a322eaea37e8a47 (patch)
tree3d679cf2ef12e196432734bf2be5cfaef92b31ba /tools/perf/scripts/python/stackcollapse.py
parentiio: adc: meson-saradc: Make the of_device_id array style consistent (diff)
downloadlinux-e16e0a778fec8ac1b3755c9c4a322eaea37e8a47.tar.gz
linux-e16e0a778fec8ac1b3755c9c4a322eaea37e8a47.zip
iio: buffer: split buffer sysfs creation to take buffer as primary arg
Currently the iio_buffer_{alloc,free}_sysfs_and_mask() take 'indio_dev' as primary argument. This change splits the main logic into a private function that takes an IIO buffer as primary argument. That way, the functions can be extended to configure the sysfs for multiple buffers. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Link: https://lore.kernel.org/r/20200917125951.861-1-alexandru.ardelean@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions