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
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Henrik Holst via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 4 Feb 2022 03:23:13 +0100
did static compile as well. will try out gdb perhaps during the weekend,
but we are still talking about 490 data points here.
Den fre 4 feb. 2022 kl 03:10 skrev Timothe Litt via curl-library <
curl-library_at_lists.haxx.se>:
>
> On 03-Feb-22 21:02, Henrik Holst via curl-library wrote:
>
> 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
>
> Best bet is to compile with static libraries, preferably with -O0 -g, and
> use gdb.
>
> The string functions may be inlined; gdb will do better than ltrace. And
> gdb lets you print any helpful variable in scope...
>
> Timothe Litt
> ACM Distinguished Engineer
> --------------------------
> This communication may not represent the ACM or my employer's views,
> if any, on the matters discussed.
>
>
>
>
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>
Date: Fri, 4 Feb 2022 03:23:13 +0100
did static compile as well. will try out gdb perhaps during the weekend,
but we are still talking about 490 data points here.
Den fre 4 feb. 2022 kl 03:10 skrev Timothe Litt via curl-library <
curl-library_at_lists.haxx.se>:
>
> On 03-Feb-22 21:02, Henrik Holst via curl-library wrote:
>
> 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
>
> Best bet is to compile with static libraries, preferably with -O0 -g, and
> use gdb.
>
> The string functions may be inlined; gdb will do better than ltrace. And
> gdb lets you print any helpful variable in scope...
>
> Timothe Litt
> ACM Distinguished Engineer
> --------------------------
> This communication may not represent the ACM or my employer's views,
> if any, on the matters discussed.
>
>
>
>
> --
> 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.htmlReceived on 2022-02-04