RFC: path display and path filtering features.

Dmitry V. Levin ldv at altlinux.org
Thu Feb 24 22:29:07 UTC 2011

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110225/0deb8157/attachment.bin>

More information about the Strace-devel mailing list