xref: /qemu/bsd-user/freebsd/os-strace.h (revision ea1ab4cf)
1*ea1ab4cfSStacey Son /*
2*ea1ab4cfSStacey Son  *  FreeBSD dependent strace print functions
3*ea1ab4cfSStacey Son  *
4*ea1ab4cfSStacey Son  *  Copyright (c) 2013 Stacey D. Son
5*ea1ab4cfSStacey Son  *
6*ea1ab4cfSStacey Son  *  This program is free software; you can redistribute it and/or modify
7*ea1ab4cfSStacey Son  *  it under the terms of the GNU General Public License as published by
8*ea1ab4cfSStacey Son  *  the Free Software Foundation; either version 2 of the License, or
9*ea1ab4cfSStacey Son  *  (at your option) any later version.
10*ea1ab4cfSStacey Son  *
11*ea1ab4cfSStacey Son  *  This program is distributed in the hope that it will be useful,
12*ea1ab4cfSStacey Son  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13*ea1ab4cfSStacey Son  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14*ea1ab4cfSStacey Son  *  GNU General Public License for more details.
15*ea1ab4cfSStacey Son  *
16*ea1ab4cfSStacey Son  *  You should have received a copy of the GNU General Public License
17*ea1ab4cfSStacey Son  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
18*ea1ab4cfSStacey Son  */
19*ea1ab4cfSStacey Son 
20*ea1ab4cfSStacey Son #include "target_arch_sysarch.h"    /* architecture dependent functions */
21*ea1ab4cfSStacey Son 
22*ea1ab4cfSStacey Son 
do_os_print_sysarch(const struct syscallname * name,abi_long arg1,abi_long arg2,abi_long arg3,abi_long arg4,abi_long arg5,abi_long arg6)23*ea1ab4cfSStacey Son static inline void do_os_print_sysarch(const struct syscallname *name,
24*ea1ab4cfSStacey Son         abi_long arg1, abi_long arg2, abi_long arg3, abi_long arg4,
25*ea1ab4cfSStacey Son         abi_long arg5, abi_long arg6)
26*ea1ab4cfSStacey Son {
27*ea1ab4cfSStacey Son     /* This is arch dependent */
28*ea1ab4cfSStacey Son     do_freebsd_arch_print_sysarch(name, arg1, arg2, arg3, arg4, arg5, arg6);
29*ea1ab4cfSStacey Son }
30