2 * Copyright (c) 2005-2015 Dmitry V. Levin <ldv@altlinux.org>
3 * Copyright (c) 2015-2019 The strace developers.
6 * SPDX-License-Identifier: LGPL-2.1-or-later
13 decode_struct_stat64(struct tcb *const tcp, const kernel_ulong_t addr)
15 struct strace_stat st;
17 if (fetch_struct_stat64(tcp, addr, &st))
18 print_struct_stat(tcp, &st);
24 printpath(tcp, tcp->u_arg[0]);
27 decode_struct_stat64(tcp, tcp->u_arg[1]);
35 printfd(tcp, tcp->u_arg[0]);
38 decode_struct_stat64(tcp, tcp->u_arg[1]);
46 print_dirfd(tcp, tcp->u_arg[0]);
48 printpath(tcp, tcp->u_arg[1]);
51 decode_struct_stat64(tcp, tcp->u_arg[2]);
53 printflags(at_flags, tcp->u_arg[3], "AT_???");