>> +# ifdef HAVE_USTAT_H
>> +# include <ustat.h>
>> +# else
>> +# include <stdint.h>
>> +struct ustat {
>> + int32_t f_tfree;
>> + uint64_t f_tinode;
>
>This is not correct:
>f_tfree is long on mips and sparc, and int on other architectures;
>f_tinode is unsigned int on alpha and s390, and kernel_ulong_t on other
>architectures;
>also, struct ustat also contains f_fname[] and f_fpack[].
>
>In other words, you really need <ustat.h> to decode ustat.
Can you give me a hand? Is it if do not have ustat.h print ubuf pointer?
Thanks.
--
JingPiao Chen
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel