[zeromq-dev] profiling czmq applications
Pieter Hintjens
ph at imatix.com
Wed Apr 1 18:42:03 CEST 2015
If you do find a good profiling tool, I'd be interested in knowing
what you use. I've tried gprof and dtrace without much success.
On Wed, Apr 1, 2015 at 2:05 PM, Stefan Kaes <Stefan.Kaes at xing.com> wrote:
> Hi,
>
> I’ve tried using gperftools to profile a czmq application, with no immediate
> success.
>
> Gperftools use interval timers to record stack information and this seems to
> interrupt zpollers.
>
> After to patching czmq to ignore errors in zloop_start(), I was able to
> profile. But the patch is really a brute force hack.
>
> My questions:
>
> Is this a known problem and are there ways to mitigate it?
>
> Or are you using different profiling tools which work better than
> gperftools?
>
> Regards,
>
> — stefan
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list