Re: eu-stacktrace: roadmap and discussion thread

2023-05-11 Thread Serhei Makarov
On Tue, May 9, 2023, at 2:02 PM, Milian Wolff wrote: > Hey Serhey, > > sounds like a fun project. If you want to see some prior art in that area, do > have a look at perfparser [1], esp. [2], and [3]. We solved quite a few of > the > problems you might encounter in this area. Esp. for good perfo

Re: eu-stacktrace: roadmap and discussion thread

2023-05-11 Thread Serhei Makarov
On Mon, May 8, 2023, at 5:50 PM, Christian Hergert wrote: > First off, this all sounds great! > ... > > From a consumption standpoint, it would be nice if Sysprof could get a > perf stream where the PERF_SAMPLE_STACK are transparently converted to > PERF_SAMPLE_CALLCHAIN. I don't think eu-stackt

Re: [PATCH 5/5] backends: Fix run-native-test.sh and run-funcretval++11.sh run fail on mips

2023-05-11 Thread Mark Wielaard
Hi, On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote: > From: Ying Huang > > add register_info, return_value_location function on mips > --- > backends/Makefile.am | 2 +- > backends/mips_init.c | 2 + > backends/mips_regs.c | 109 + > backends/mips_retval.c | 261 +

Re: [PATCH 4/5] stack: Fix stack unwind failure on mips

2023-05-11 Thread Mark Wielaard
Hi, On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote: > From: Ying Huang > > add abi_cfi, set_initial_registers_tid, unwind on mips. > "./src/stack -p PID" can show stack information > --- > backends/Makefile.am| 3 +- > backends/mips_cfi.c | 68 + >

Re: [PATCH 3/5] elflint: Fix invalid type of relocation info and other issues on mips

2023-05-11 Thread Mark Wielaard
Hi, On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote: > From: Ying Huang > > add some check related functions > --- > backends/mips_init.c | 3 +++ > backends/mips_symbol.c| 33 + > libebl/eblrelocvaliduse.c | 8 ++-- > src/elflint.c

Re: [PATCH 2/5] readelf: Adapt src/readelf -h/-S/-r/-w/-l/-d/-a on mips

2023-05-11 Thread Mark Wielaard
Hi, On Tue, 2023-04-11 at 16:12 +0800, Ying Huang wrote: > From: Ying Huang > > -h: support show Flags name > -S: support show mips related section type > -r: support show type and relocation info value of Relocation section > -w: can work and can show correct "strp" contents > -l: support show