https://sourceware.org/bugzilla/show_bug.cgi?id=31447
--- Comment #7 from Di Chen ---
This issue is in code review.
https://sourceware.org/pipermail/elfutils-devel/2024q3/007388.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=31447
--- Comment #6 from Di Chen ---
@amerey
I believe your elfutils was lacking the dwelf_relocation_debug_sections
replacement in strip.c while compiling.
Could you give a double check for whether the dwelf_relocation_debug_sections
is introduc
https://sourceware.org/bugzilla/show_bug.cgi?id=31447
--- Comment #4 from Di Chen ---
@mjw
I have function dwelf_relocation_debug_sections() added in libdwelf.a.
```
$ pwd
/home/dichen/elfutils
$ eu-readelf -s libdwelf/libdwelf.a | grep dwelf_relocation_debug_sections
libdwelf/libdwelf.a(dwelf_
https://sourceware.org/bugzilla/show_bug.cgi?id=31447
--- Comment #2 from Di Chen ---
Hey @mjw
```
$ eu-readelf -a qq.o | grep Type
Type: REL (Relocatable file)
$ eu-readelf -S qq.o | grep REL
[ 2] .rela.text RELA 04b8 0048 24 I
19 1 8
[ 6] .r
https://sourceware.org/bugzilla/show_bug.cgi?id=31447
Di Chen changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
--- Comment #12 from Di Chen ---
@fche
no problem, thanks for merging it :D
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
--- Comment #10 from Di Chen ---
Yes, patch submitted:
https://sourceware.org/pipermail/elfutils-devel/2024q1/006916.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
--- Comment #8 from Di Chen ---
Got it. I have used GDB to make debuginfod stop at
1) before malloc_trim(0)
$ cat /proc/$$/statm
228487 3456 2976 48 0 19049 0
2) after malloc_trim(0)
$ cat /proc/$$/statm
228462 3456 2976
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
--- Comment #6 from Di Chen ---
Thanks Frank, I have debugged with rusage, but the difference between "during"
and "post" is not that obvious. I believe it's due to my small
.debuginfod.sqlite.
```
(gdb) p during
$2 = {ru_utime = {tv_sec = 0,
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
--- Comment #4 from Di Chen ---
@fche, @mjw, @amerey
I don't have many clue about how to debug/measure this memory fluctuation
problem.
What I did:
1) use GDB to check the call graph.
thread_main_groom -> groom
-> sqlite3_db_
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
--- Comment #1 from Di Chen ---
Hey Frank,
Are you talking about a change like this?
```
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 524be948..fb9c1661 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debu
https://sourceware.org/bugzilla/show_bug.cgi?id=31103
Di Chen changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31027
--- Comment #2 from Di Chen ---
I made a quick test on the libdwfl's asserts removing patch,
and it passed.
$ make check TESTS=run-dwfl*
make check-TESTS
PASS: run-dwfl-addr-sect.sh
PASS: run-dwfl-bug-offline-rel.sh
PASS: run-dwfl-core-nonco
https://sourceware.org/bugzilla/show_bug.cgi?id=31027
--- Comment #1 from Di Chen ---
Asserts are heavily used across all elfutils libraries, and it's
impossible to implement the removing in one commit. So let's gradually
remove the asserts in the later coming commits.
This is the first patch wo
https://sourceware.org/bugzilla/show_bug.cgi?id=31027
Di Chen changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |dichen at redhat dot com
--
You
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
--- Comment #6 from Di Chen ---
[Follow the last comment]
For a binary with SYMTAB STRTAB having different order, like upside down, or
having other section in between. eg.
```
$ readelf -Dd /usr/local/go/bin/go
Dynamic section at offset 0x9
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
--- Comment #5 from Di Chen ---
Created attachment 14600
--> https://sourceware.org/bugzilla/attachment.cgi?id=14600&action=edit
readelf: display dynamic symtab without section headers
```
# failed to print symtab of a binary which has sect
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
--- Comment #4 from Di Chen ---
Update:
I am working on the second part of the task, make eu-readelf can dump symbol
information from dynamic program header, like $ eu-readelf -Ds {FILE}
--
You are receiving this mail because:
You are on th
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
--- Comment #3 from Di Chen ---
Finished the first part of the whole task, now eu-readelf can dump the dynamic
segment information from dynamic program header, i.e.
```
$ ./src/readelf -Dd ~/test/eu-readelf-no-shdr
Dynamic segment contains
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
--- Comment #2 from Di Chen ---
commit 369c021c6eedae3665c1dbbaa4fc43afbbb698f4
Author: Di Chen
Date: Thu Apr 28 19:55:33 2022 +0800
readelf: Support --dynamic with --use-dynamic
Currently, eu-readelf is using section headers to d
https://sourceware.org/bugzilla/show_bug.cgi?id=28579
--- Comment #3 from Di Chen ---
Thank you Mark,
I have re-pushed a patch[1] for
1). add dwfl_frame_reg to ELFUTILS_0.188
2). add invalid regno check for dwfl_frame_reg
3). add INTDECL (dwfl_frame_reg)
4). Replace Dwarf_Word with Dwarf_Addr f
https://sourceware.org/bugzilla/show_bug.cgi?id=28579
--- Comment #1 from Di Chen ---
Created attachment 14193
--> https://sourceware.org/bugzilla/attachment.cgi?id=14193&action=edit
Submit a Patch for Bug 28579
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=28928
--- Comment #3 from Di Chen ---
Thanks Mark, attachment 14064 looks good to me. You are right, we should let
patch for "-d --use-dynamic" (part of Bug 28873) take care of using
phdr(PT_DYNAMIC) to get the section data.
Because I was considerin
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
--- Comment #1 from Di Chen ---
This Bug depends on Bug 28928 because when calling
`$ eu-readelf -d --use-dynamic {FILE}`
eu-readelf will need the number of dynamic section entris which involves with
Bug 28928
--
You are receiving this mail
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
Di Chen changed:
What|Removed |Added
Depends on||28928
Referenced Bugs:
https://sourceware
https://sourceware.org/bugzilla/show_bug.cgi?id=28928
Di Chen changed:
What|Removed |Added
Blocks||28873
Referenced Bugs:
https://sourceware
https://sourceware.org/bugzilla/show_bug.cgi?id=28928
Di Chen changed:
What|Removed |Added
CC||dichen at redhat dot com
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=28928
Di Chen changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |dichen at redhat dot com
Assignee: unassigned at sourceware dot org
Reporter: dichen at redhat dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
when using `$ eu-readelf -d {file}` to get the number of dynamic section
entris,
It wrongly counts the padding DT_NULLs
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
Di Chen changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |dichen at redhat dot com
--
You
https://sourceware.org/bugzilla/show_bug.cgi?id=28873
Di Chen changed:
What|Removed |Added
Status|NEW |ASSIGNED
--
You are receiving this mail be
Assignee: unassigned at sourceware dot org
Reporter: dichen at redhat dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Currently, eu-readelf is using section headers (in readelf.c:handle_symtab(),
it calls gelf_getshdr() for fetching section headers
https://sourceware.org/bugzilla/show_bug.cgi?id=28579
Di Chen changed:
What|Removed |Added
Status|NEW |ASSIGNED
--
You are receiving this mail be
https://sourceware.org/bugzilla/show_bug.cgi?id=28579
Di Chen changed:
What|Removed |Added
CC||dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28242
Di Chen changed:
What|Removed |Added
Summary|extend server http-response |extend server http-response
https://sourceware.org/bugzilla/show_bug.cgi?id=28242
--- Comment #1 from Di Chen ---
Specifically, this task aims to add another label to all the http_responses_*
metrics.
And they are expecting to be like this:
http_responses_duration_milliseconds_count{code="200", type="debuginfo"} 91300.
--
https://sourceware.org/bugzilla/show_bug.cgi?id=28242
Di Chen changed:
What|Removed |Added
CC||dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27917
--- Comment #2 from Di Chen ---
Created attachment 13623
--> https://sourceware.org/bugzilla/attachment.cgi?id=13623&action=edit
Submit a Patch for Bug 27917
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=27917
Di Chen changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27918
Di Chen changed:
What|Removed |Added
Assignee|dichen at redhat dot com |unassigned at
sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27918
Di Chen changed:
What|Removed |Added
CC||dichen at redhat dot com
41 matches
Mail list logo