Re: elf_memory again, readonly or readwrite...

2024-08-29 Thread John Mellor-Crummey
willing to call elf_update to make updates if that makes it easier to address both Derek’s use case and mine. However, some changes to elf_update may be necessary to support update of something mapped with ELF_C_READ_MMAP_PRIVATE. -- John Mellor-Crummey Professor Dept of Computer Science

Re: [PATCH] Fix thread-safety for elfutils

2023-08-21 Thread John Mellor-Crummey via Elfutils-devel
Any thoughts about the patch from my student, Heather McIntyre? -- John Mellor-Crummey Professor Dept of Computer ScienceRice University email: joh...@rice.edu phone: 713-348-5179 > On Aug 8, 2023, at 12:07 PM, Heather McIntyre wrote: > > Hello all, >

Re: Deadlock from --enable-thread-safety

2023-08-04 Thread John Mellor-Crummey via Elfutils-devel
routines that either - use the lock already possessed or - acquire their own lock if the caller doesn’t have it already. Would that strategy be acceptable to you. None of the code does anything like that as far as I know. John Mellor-Crummey (sent from my phone) > On Aug 4, 2023, at 8:21

Re: [PATCH] (v2) read inlining info in an NVIDIA extended line map

2021-11-10 Thread John Mellor-Crummey via Elfutils-devel
Mark, Your tweaks are fine. Many thanks for accepting our patch before 186! -- John Mellor-Crummey Professor Dept of Computer ScienceRice University email: joh...@rice.edu phone: 713-348-5179 > On Nov 10, 2021, at 4:16 AM, Mark Wielaard wrote: > > Hi John

[PATCH] version 2 read extended nvidia linemap

2021-11-05 Thread John Mellor-Crummey via Elfutils-devel
 the attachment was on the original message. i am resending the attachment. 0001-Read-inlining-info-in-NVIDIA-extended-line-map.patch Description: Binary data (sent from my phone)

[PATCH] (v2) read inlining info in an NVIDIA extended line map

2021-11-04 Thread John Mellor-Crummey via Elfutils-devel
int (an index into the line table that one could use to compute the pointer) (5) there are test cases for readelf and libdw that use a binary generated by NVIDIA’s compiler. the test cases include information about how the binary was generated -- John Mellor-Crummey Professor Dept of

[PATCH] (revised) read inlining info in an NVIDIA extended line map (was: Extension ...)

2021-09-15 Thread John Mellor-Crummey via Elfutils-devel
Dwarf_line_s data structure. -- John Mellor-Crummey Professor Dept of Computer ScienceRice University email: joh...@rice.edu phone: 713-348-5179 > On Sep 10, 2021, at 12:11 PM, Mark Wielaard wrote: > > Hi John, > > On Fri, 2021-09-10 at 10:49 -05

[PATCH] read inlining info in an NVIDIA extended line map (was: Extension ...)

2021-09-10 Thread John Mellor-Crummey via Elfutils-devel
was copied from another test that used dwarf_next_lines and extended with code that reads the new context and functionname fields of a line table entry. -- John Mellor-Crummey Professor Dept of Computer ScienceRice University email: joh...@rice.edu phone: 713-348-5179

Extension: read inlining info in an NVIDIA extended line map

2021-09-05 Thread John Mellor-Crummey via Elfutils-devel
st script run-nvidia-extended-linemap-libdw.sh runs this test and validates its output. A patch with the new functionality described above is attached. -- John Mellor-Crummey Professor Dept of Computer ScienceRice University email: joh...@rice.edu phone: 713-348-

Re: [PATCH] libdw: Add dwarf_next_lines to read .debug_line tables without CUs.

2018-06-30 Thread John Mellor-Crummey
Mark, I integrated the 0.173 release into Dyninst and it correctly parses line map information for optimized CUDA binaries. This was just what we needed. Thanks! Best, John