diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-04-11 14:48:22 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2023-05-29 23:41:29 +0900 |
commit | 7bba9e81a6fbf00daa4063c41da6b250d339f43b (patch) | |
tree | d5fc45730617aaad45bcd3e9cee92c7db6c25446 /tools/perf/scripts/python/stackcollapse.py | |
parent | 566825a31f65da111270abac35662502706e7c8a (diff) |
extcon: Use unique number for the extcon device ID
The use of atomic variable is still racy when we do not control which
device has been unregistered and there is a (theoretical) possibility
of the overflow that may cause a duplicate extcon device ID number
to be allocated next time a device is registered.
Replace above mentioned approach by using IDA framework.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions