diff options
author | 2023-11-29 12:16:13 +0100 | |
---|---|---|
committer | 2023-12-12 11:13:52 +0000 | |
commit | bcf1eed3f8a0b83824b41da82d226cf36320be76 (patch) | |
tree | 72d2c6baadbac374618a6bef83e70e7ac9e1a958 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | arm64: idreg-override: Avoid parameq() and parameqn() (diff) | |
download | wireguard-linux-bcf1eed3f8a0b83824b41da82d226cf36320be76.tar.xz wireguard-linux-bcf1eed3f8a0b83824b41da82d226cf36320be76.zip |
arm64: idreg-override: avoid strlen() to check for empty strings
strlen() is a costly way to decide whether a string is empty, as in that
case, the first character will be NUL so we can check for that directly.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20231129111555.3594833-60-ardb@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions