summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-09-27 12:26:44 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-09-29 22:37:27 +0300
commitdd54fd7dfa4574fe350b75a90693dc6552c535e3 (patch)
treee5c63f9a0579050ef1d5cd4dc09f258522f5f915 /tools/perf/scripts/python/exported-sql-viewer.py
parent08475dab7cf5b610ea2420828e97c54f5f370d7d (diff)
downloadlinux-dd54fd7dfa4574fe350b75a90693dc6552c535e3.tar.xz
random: use init_utsname() instead of utsname()
Rather than going through the current-> indirection for utsname, at this point in boot, init_utsname()==utsname(), so just use it directly that way. Additionally, init_utsname() appears to be available nearly always, so move it into random_init_early(). Suggested-by: Kees Cook <keescook@chromium.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions