[PATCH] libdwfl: Remove asserts from library code

2023-12-23 Thread Di Chen
>From 33d436aefb6b63a159943bd24eb432b8cfb8b369 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Sun, 24 Dec 2023 11:44:48 +0800 Subject: [PATCH] libdwfl: Remove asserts from library code It would be better for elfutils library functions to return an error code instead of aborting because of a fai

[PATCH] debuginfod.cxx: periodically malloc_trim()

2024-03-17 Thread Di Chen
>From 93cfe0b3e8d51eb18c5807e4b72c17920aefb422 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Mon, 18 Mar 2024 09:06:19 +0800 Subject: [PATCH] debuginfod.cxx: periodically malloc_trim() Add malloc_trim() for releasing memory which is allocated for temporary purposes, e.g. answering queries, add

[PATCH] libdwelf: provide a public debug section relocation function

2024-09-03 Thread Di Chen
Hey team elfutils, This patch is for https://sourceware.org/bugzilla/show_bug.cgi?id=31447, and it is ready for code review now 😀 Regards, Di From 5326db4241c15a4b2760d12bcc6b58aec86eda98 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Sun, 7 Jul 2024 14:57:30 +0800 Subject: [PATCH] libdwelf

[PATCH] PR28873 - Implement eu-readelf -D

2023-02-10 Thread Di Chen via Elfutils-devel
>From bdc19de94bff8f8812611b9ba8c0116a650d0fb5 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Fri, 13 Jan 2023 20:12:43 +0800 Subject: [PATCH] readelf: display dynamic symtab without section headers This commit adds a new option "-D/--use-dynamic" to support printing the dynamic symb

Re: [PATCH] PR28873 - Implement eu-readelf -D

2023-04-01 Thread Di Chen via Elfutils-devel
gt;From 70ac6993744985b29935df6010e36bf9dbbd96d9 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Mon, 27 Mar 2023 10:01:05 +0800 Subject: [PATCH] readelf: display dynamic symtab without section headers This commit adds a new option "-D/--use-dynamic" to support printing the dynamic symbol table from the PT_DYNAMIC segm

[PATCH] debuginfod: PR27917 - protect against federation loops

2021-08-12 Thread Di Chen via Elfutils-devel
>From a726d9868f4e02d390b9071180b0c3728da3750e Mon Sep 17 00:00:00 2001 From: Di Chen Date: Sun, 8 Aug 2021 16:57:12 +0800 Subject: [PATCH] debuginfod: PR27917 - protect against federation loops If someone misconfigures a debuginfod federation to have loops, and a nonexistent buildid lookup

Re: [PATCH] debuginfod: PR27917 - protect against federation loops

2021-08-20 Thread Di Chen via Elfutils-devel
UND, "not found, > > --forwared-ttl-limit reached \ > > +and will not query the upstream servers"); > > One part I don't understand is why you added the code to check for XFF > length into handler_cb(), and then passed the disable_query_server > result flag to thi

[PATCH] PR27940 - The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")'

2021-09-10 Thread Di Chen via Elfutils-devel
>From a98718a1b97357e53cef966ed9826c69e159f46e Mon Sep 17 00:00:00 2001 From: Di Chen Date: Thu, 2 Sep 2021 12:52:47 +0800 Subject: [PATCH] The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")' The disappeared /* pc=0x... */ resulted from t

[PATCH] debuginfod: PR28242 - extend server http-response metrics

2021-10-01 Thread Di Chen via Elfutils-devel
>From a574dfaf5d5636cbb7159a0118eb30e2c4aaa301 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Fri, 1 Oct 2021 22:03:41 +0800 Subject: [PATCH] debuginfod: PR28242 - extend server http-response metrics This patch aims to extend http_responses_* metrics with another label "type" by gett

[PATCH] readelf: PR28928 - wrong dynamic section entry number

2022-03-01 Thread Di Chen via Elfutils-devel
commit 978663c5323cf402cd35b8614e41f24b587cbdd8 (HEAD -> dichen/DT_NULL, origin/dichen/DT_NULL) Author: Di Chen Date: Tue Mar 1 20:44:38 2022 +0800 readelf: PR28928 - wrong dynamic section entry number when using `$ eu-readelf -d {file}` to get the number of dynamic section ent

Re: [PATCH] readelf: PR28928 - wrong dynamic section entry number

2022-03-22 Thread Di Chen via Elfutils-devel
Hey team, I made some changes for this patch: (1) update the commit message to make it more clear (2) tests/alldts.c needs the padding spaces for output comparison On Tue, Mar 1, 2022 at 8:54 PM Di Chen wrote: > commit 978663c5323cf402cd35b8614e41f24b587cbdd8 (HEAD -> dichen/DT_NULL, &g

Re: [PATCH] readelf: PR28928 - wrong dynamic section entry number

2022-03-30 Thread Di Chen via Elfutils-devel
>From b0da0a6f6c9a57a37a144a806ecd219a76c66b54 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 1 Mar 2022 20:44:38 +0800 Subject: [PATCH] readelf: Don't consider padding DT_NULL as dynamic section entry when using `$ eu-readelf -d {FILE}` to get the number of dynamic section en

Re: Proposing elfutils-0.187 for Monday 25 April

2022-04-15 Thread Di Chen via Elfutils-devel
Hey Mark, The latest patch for PR28928 locates in bugzilla, and it's attached in https://sourceware.org/bugzilla/show_bug.cgi?id=28928 Di On Fri, Apr 15, 2022 at 6:41 PM Mark Wielaard wrote: > Hi, > > It has been 5 months since elfutils 0.186 was released. There have been > more than 70 commit

[PATCH] readelf: Support --dynamic with --use-dynamic

2022-05-05 Thread Di Chen via Elfutils-devel
>From 3ac23c2584d76114deab0c0af6f4af99068dc7f4 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Thu, 28 Apr 2022 19:55:33 +0800 Subject: [PATCH] readelf: Support --dynamic with --use-dynamic Currently, eu-readelf is using section headers to dump the dynamic segment information (print_dyna

Re: [PATCH] readelf: Support --dynamic with --use-dynamic

2022-05-24 Thread Di Chen via Elfutils-devel
May 20, 2022 at 8:41 AM Mark Wielaard wrote: > Hi, > > On Thu, May 05, 2022 at 09:01:24PM +0800, Di Chen via Elfutils-devel wrote: > > From 3ac23c2584d76114deab0c0af6f4af99068dc7f4 Mon Sep 17 00:00:00 2001 > > From: Di Chen > > Date: Thu, 28 Apr 2022 19:55:33 +0800 &g

[PATCH] libdw/libdwfl: Add API for accessing registers

2022-07-19 Thread Di Chen via Elfutils-devel
>From 8325b5311ff5618a7a66e5398652e2177cc53e78 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 19 Jul 2022 14:54:45 +0800 Subject: [PATCH] libdw/libdwfl: Add API for accessing registers Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound regist

[PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-19 Thread Di Chen via Elfutils-devel
>From 9c25b08e46c2031b569a85f91713d009b83f4c26 Mon Sep 17 00:00:00 2001 From: Di Chen Date: Tue, 19 Jul 2022 14:54:45 +0800 Subject: [PATCH] libdw/libdwfl: Add API for accessing registers Dwfl has most of the infrastructure to keep the full unwind state, including the state of unwound regist

Re: [PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-29 Thread Di Chen via Elfutils-devel
0:21:21PM +0800, Di Chen via Elfutils-devel wrote: > > From 9c25b08e46c2031b569a85f91713d009b83f4c26 Mon Sep 17 00:00:00 2001 > > From: Di Chen > > Date: Tue, 19 Jul 2022 14:54:45 +0800 > > Subject: [PATCH] libdw/libdwfl: Add API for accessing registers > > > > Dw

Re: [PATCH v2] libdw/libdwfl: Add API for accessing registers

2022-07-29 Thread Di Chen via Elfutils-devel
Re-pushed for fixing run-backtrace-core-sparc.sh failure which resulted from some wrong register number. On Fri, Jul 29, 2022 at 9:27 PM Di Chen wrote: > Thanks for the review, Mark. > > Re-pushed a patch for it. > > 1. NEWS entry added. > 2. __libdwfl_frame_reg_get/dwfl_fram