diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-22 13:19:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-06-26 01:02:14 -0400 |
commit | 87d805331a69afdd7b3ee3d5c42760b747a4904f (patch) | |
tree | ea29565572de427cabc8f29f303a47c77bb47eb3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 030754c99538ef83ba6aaf1cdfe33ec4fbbc0c0f (diff) |
sparc32: get rid of odd callers of copy_regset_to_user()
the life is much simpler if copy_regset_to_user() (and ->get())
gets called only with pos == 0; sparc32 PTRACE_GETREGS and
PTRACE_GETFPREGS are among the few things that use it to fetch
pieces of regset _not_ starting at the beginning. It's actually
easier to define a separate regset that would provide what
we need, rather than trying to cobble that from the one
PTRACE_GETREGSET uses.
Extra ->get() instances do not amount to much code and once
we get the conversion of ->get() to new API (dependent upon the
lack of weird callers of ->get()) they'll shrink a lot, along
with the rest of ->get() instances...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions