diff options
author | Ard Biesheuvel <[email protected]> | 2023-11-29 12:16:13 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2023-12-12 11:13:52 +0000 |
commit | bcf1eed3f8a0b83824b41da82d226cf36320be76 (patch) | |
tree | 72d2c6baadbac374618a6bef83e70e7ac9e1a958 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dc3f5aae06381b43bc9d0d416bd15ee1682940e9 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions