curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Fewer mallocs is better, episode #47

From: Henrik Holst via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 4 Feb 2022 03:02:19 +0100

problems is that ltrace produces zero output, if I compile curl with
--no-pie then ltrace produces some output but not a single strlen for some
reason so I gave up on that and found uftrace instead which works but only
shows which functions that are called and not the arguments.

/HH

Den fre 4 feb. 2022 kl 02:52 skrev Dan Fandrich via curl-library <
curl-library_at_lists.haxx.se>:

> On Thu, Feb 03, 2022 at 08:35:13PM -0500, Timothe Litt via curl-library
> wrote:
> > On 03-Feb-22 20:09, Henrik Holst via curl-library wrote:
> >> the traces only shows that strlen was called, not on which string it was
> >> called so the digging is a bit time consuming).
> > Set on-the-fly breakpoints where strlen is called, and display the
> arguments.
>
> Also, ltrace can be compiled to enable the --where N option that shows a
> backtrace N levels deep for each traced function.
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-04