aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-08-09 15:14:41 +0200
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-08-11 13:58:06 +0200
commit39df52ddd932244f2cc08ce520ad064b7dc8c278 (patch)
treec7960726e1c1c7bb289a0e705e82e7833f9109b2 /tools/perf/scripts/python/stackcollapse.py
parent87d0688483f56c748b37a5298bdc382df5cf8f74 (diff)
gpio: sim: use sysfs_streq() and avoid an strdup()
When comparing strings passed to us from configfs, we can pass the page argument directly to sysfs_streq() and avoid manual string trimming. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions