aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-08-12 20:57:48 +0200
committerBartosz Golaszewski <[email protected]>2023-08-15 20:47:30 +0200
commitba0294df2dbdc006ffbf037da28bba64e9f6d709 (patch)
treef68db0d1d9b0b479b92e6b734eb5f1b04f0d9689 /tools/perf/scripts/python/event_analyzing_sample.py
parenta40fe1ffb69b709835a0623959f95d6c81ff38c1 (diff)
gpio: sim: replace memmove() + strstrip() with skip_spaces() + strim()
Turns out we can avoid the memmove() by using skip_spaces() and strim(). We did that in gpio-consumer, let's do it in gpio-sim. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions