diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-11-07 16:26:36 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-04-04 09:17:52 -0400 |
commit | d08e411397cb6fcb3d3fb075c27a41975c99e88f (patch) | |
tree | 64973de5ffbf7dff71cfc6a03a3378b070c337cb /arch/riscv/include | |
parent | 631b7abacd02b88f4b0795c08b54ad4fc3e7c7c0 (diff) | |
download | linux-d08e411397cb6fcb3d3fb075c27a41975c99e88f.tar.bz2 |
tracing/syscalls: Pass in hardcoded 6 into syscall_get_arguments()
The only users that calls syscall_get_arguments() with a variable and not a
hard coded '6' is ftrace_syscall_enter(). syscall_get_arguments() can be
optimized by removing a variable input, and always grabbing 6 arguments
regardless of what the system call actually uses.
Change ftrace_syscall_enter() to pass the 6 args into a local stack array
and copy the necessary arguments into the trace event as needed.
This is needed to remove two parameters from syscall_get_arguments().
Link: http://lkml.kernel.org/r/20161107213233.627583542@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'arch/riscv/include')
0 files changed, 0 insertions, 0 deletions