[PATCH v6] Implement -e trace=%statfs option for tracing statfs like syscalls

Abhishek Tiwari erabhishektiwarics at gmail.com
Mon Mar 20 10:01:02 UTC 2017


On Sun, Mar 19, 2017 at 11:30 AM, Abhishek Tiwari
<erabhishektiwarics at gmail.com> wrote:
> Please review patch for bug in previous reply.
>
> On Sun, Mar 19, 2017 at 6:11 AM, Dmitry V. Levin <ldv at altlinux.org> wrote:
>> On Sat, Mar 18, 2017 at 08:29:46PM +0530, Abhishek Tiwari wrote:
>> [...]
>>> +done << EOF
>>> +17 statfs
>>
>> Please add a test for statfs64 here as well.
>
>
> Sir,
> the statfs64.test file calls the statfs.test itself.
> On adding 17 statfs64 to my test file gives error
>
> undefined: __NR_statfs64
>
> Is adding following entries correct ?
>
> In file tests/scno.h:
>
> #ifndef __NR_statfs
> # define __NR_statfs64 (SYSCALL_BIT | 332 )
>
> Is adding it to last entry fine ?
>
> In file tests/ksysent.h:
>
> #ifdef __NR_statfs
> [__NR_statfs64 & 0xffff] = "statfs64",
>

Please reply


>>
>>
>> --
>> ldv
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Strace-devel mailing list
>> Strace-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/strace-devel
>>




More information about the Strace-devel mailing list