Searched hist:aba921bd9e1869dae9ae4cc6e0c048f997401034 (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/riscv/riscv/ |
H A D | db_trace.c | diff aba921bd9e1869dae9ae4cc6e0c048f997401034 Fri Oct 28 23:20:05 CEST 2022 Mitchell Horne <mhorne@FreeBSD.org> ddb: print the actual syscall name
Some architectures will pretty-print a system call trap in the backtrace. Rather than printing the symbol, use the syscallname() function to pull the string from the sv_syscallnames array corresponding to the process. This simplifies the function somewhat.
Mostly, this will result in dropping the "sys" prefix, e.g. "sys_exit" will now be printed simply as "exit".
Make two minor tweaks to the function signature: use a u_int for the syscall number since this is a more correct type (see the 'code' member of struct syscall_args), and make the thread pointer the first argument. The latter is more natural and conventional.
Suggested by: jrtc27 Reviewed by: jrtc27, markj, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37200
|
/freebsd/sys/ddb/ |
H A D | db_sym.h | diff aba921bd9e1869dae9ae4cc6e0c048f997401034 Fri Oct 28 23:20:05 CEST 2022 Mitchell Horne <mhorne@FreeBSD.org> ddb: print the actual syscall name
Some architectures will pretty-print a system call trap in the backtrace. Rather than printing the symbol, use the syscallname() function to pull the string from the sv_syscallnames array corresponding to the process. This simplifies the function somewhat.
Mostly, this will result in dropping the "sys" prefix, e.g. "sys_exit" will now be printed simply as "exit".
Make two minor tweaks to the function signature: use a u_int for the syscall number since this is a more correct type (see the 'code' member of struct syscall_args), and make the thread pointer the first argument. The latter is more natural and conventional.
Suggested by: jrtc27 Reviewed by: jrtc27, markj, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37200
|
H A D | db_sym.c | diff aba921bd9e1869dae9ae4cc6e0c048f997401034 Fri Oct 28 23:20:05 CEST 2022 Mitchell Horne <mhorne@FreeBSD.org> ddb: print the actual syscall name
Some architectures will pretty-print a system call trap in the backtrace. Rather than printing the symbol, use the syscallname() function to pull the string from the sv_syscallnames array corresponding to the process. This simplifies the function somewhat.
Mostly, this will result in dropping the "sys" prefix, e.g. "sys_exit" will now be printed simply as "exit".
Make two minor tweaks to the function signature: use a u_int for the syscall number since this is a more correct type (see the 'code' member of struct syscall_args), and make the thread pointer the first argument. The latter is more natural and conventional.
Suggested by: jrtc27 Reviewed by: jrtc27, markj, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37200
|
/freebsd/sys/i386/i386/ |
H A D | db_trace.c | diff aba921bd9e1869dae9ae4cc6e0c048f997401034 Fri Oct 28 23:20:05 CEST 2022 Mitchell Horne <mhorne@FreeBSD.org> ddb: print the actual syscall name
Some architectures will pretty-print a system call trap in the backtrace. Rather than printing the symbol, use the syscallname() function to pull the string from the sv_syscallnames array corresponding to the process. This simplifies the function somewhat.
Mostly, this will result in dropping the "sys" prefix, e.g. "sys_exit" will now be printed simply as "exit".
Make two minor tweaks to the function signature: use a u_int for the syscall number since this is a more correct type (see the 'code' member of struct syscall_args), and make the thread pointer the first argument. The latter is more natural and conventional.
Suggested by: jrtc27 Reviewed by: jrtc27, markj, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37200
|
/freebsd/sys/amd64/amd64/ |
H A D | db_trace.c | diff aba921bd9e1869dae9ae4cc6e0c048f997401034 Fri Oct 28 23:20:05 CEST 2022 Mitchell Horne <mhorne@FreeBSD.org> ddb: print the actual syscall name
Some architectures will pretty-print a system call trap in the backtrace. Rather than printing the symbol, use the syscallname() function to pull the string from the sv_syscallnames array corresponding to the process. This simplifies the function somewhat.
Mostly, this will result in dropping the "sys" prefix, e.g. "sys_exit" will now be printed simply as "exit".
Make two minor tweaks to the function signature: use a u_int for the syscall number since this is a more correct type (see the 'code' member of struct syscall_args), and make the thread pointer the first argument. The latter is more natural and conventional.
Suggested by: jrtc27 Reviewed by: jrtc27, markj, jhb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D37200
|