diff options
| author | Nuno Sá <nuno.sa@analog.com> | 2022-10-04 15:49:02 +0200 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 19:43:58 +0000 |
| commit | f2bdea865e776b571557035eac2e8afde8ea7844 (patch) | |
| tree | 3c0c43ad67200aa71d6667df18ec7410bbafa239 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 8433aa3591afff6f4dc641a2e274e6171f66a4b7 (diff) | |
iio: adc: vf610_adc: add helper function to read samples
This is a precursor change to make it simpler to remove the 'mlock'
usage. Having the code in it's own helper function, also makes it easier
to read the error paths.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/20221004134909.1692021-10-nuno.sa@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
