RFC: path display and path filtering features.

Grant Edwards grant.b.edwards at gmail.com
Thu Feb 24 22:51:28 UTC 2011


On 2011-02-24, Dmitry V. Levin <ldv at altlinux.org> wrote:
> On Fri, Feb 25, 2011 at 12:00:18AM +0300, Dmitry V. Levin wrote:
>> On Wed, Feb 23, 2011 at 02:16:43PM -0600, Grant Edwards wrote:
> [...]
>> Now a few comments on the patch itself.
> [...]
>> +  fprintf(stderr,"Max trace paths exceeded, only using first %d\n",NumElem(selected));
>
> On x86-64, gcc complains:
> pathtrace.c: In function 'storepath':
> pathtrace.c:106:3: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
>
> To fix this warning, you can safely cast NumElem(selected) to int.

OK.

-- 
Grant Edwards               grant.b.edwards        Yow! Either CONFESS now or
                                  at               we go to "PEOPLE'S COURT"!!
                              gmail.com            





More information about the Strace-devel mailing list