summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-03-08 00:57:11 +0300
committerKees Cook <keescook@chromium.org>2017-03-08 01:01:03 +0300
commit30800d9977ec271a7836d777848dba6773d12a3b (patch)
treed3a93e024d5c3a22b1555b2f4b5b329f8c64feac /tools/perf/scripts/python/export-to-postgresql.py
parent4c9ec219766a217468fb94a281c416455a884dda (diff)
downloadlinux-30800d9977ec271a7836d777848dba6773d12a3b.tar.xz
pstore: simplify write_user_compat()
Nothing actually uses write_user_compat() currently, but there is no reason to reuse the dmesg buffer. Instead, just allocate a new record buffer, copy in from userspace, and pass it to write() as normal. Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions