aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRohit Sarkar <[email protected]>2020-03-31 17:17:31 +0530
committerJonathan Cameron <[email protected]>2020-04-19 16:56:25 +0100
commit2ca73823d05d654cb6d21bd0b045dfa382fb9c83 (patch)
tree713064c3bc56e99ccbb49f616b0830c1cd890c2e /tools/perf/scripts/python/bin/stackcollapse-record
parentae1d37a9bb4bd8d9091a40d153143e99b115ee37 (diff)
iio: imu: adis16460: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE
debugfs_create_file_unsafe does not protect the fops handed to it against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of the file lifetime and thus protects it against removal. Signed-off-by: Rohit Sarkar <[email protected]> Tested-by Nuno Sá <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions