[PATCH V4] gprofng: a new GNU profiler

Vladimir Mezentsev vladimir.mezentsev@oracle.com
Wed Jan 12 00:48:55 GMT 2022



On 12/13/21 07:13, Nick Clifton wrote:
> Hi Vladimir,
>
>>> To me this is a concern as the intention of the binutils project is to
>>> support as wide a range of architectures as possible.
>>>
>>> Is it simple to add other architectures ?  What work needs to be done ?
>>
>> We utilize disassembler() from libopcodes and several functions from 
>> libbfd which are already cross platform.
>> The rest of porting is stack unwinding and hardware counter profiling 
>> (It is in binutils-gdb.git/gprofng/libcollector).
>> We will start writing a few page porting guide.
>
> OK, well I do not want to hold up this work any longer, so the patch 
> series is approved.  Please apply.

   Hi Nick,

my fixes in opcodes/i386-dis.c are already in the master branch.
I created 4 patches to integrate gprofng into binutils-gdb.

% ls -al 000*
-rw-rw-r-- 1 vmezents wheel 5901152 Jan 11 12:39 
0001-gprofng-add-the-gprofng-tool.patch
-rw-rw-r-- 1 vmezents wheel  224725 Jan 11 12:39 
0002-gprofng-add-testsuite-for-gprofng.patch
-rw-rw-r-- 1 vmezents wheel  179400 Jan 11 12:39 
0003-gprofng-add-the-gprofng-documentation.patch
-rw-rw-r-- 1 vmezents wheel   26170 Jan 11 12:39 
0004-gprofng-add-the-gprofng-build.patch

The first 3 pathes add or change sources only in 
binutils-gdb.git/gprofng directory.
0004-gprofng-add-the-gprofng-build.patch has fixes in Makefile.def and 
configure.ac to configure the gprofng build.

0001-gprofng-add-the-gprofng-tool.patch is probably so big to send to 
binutils@sourceware.org.

I have no permissions to apply pathes.
What should I do to pushmy fixes for gprofng in binutils-gdb.git ?

Thank you,
-Vladimir





More information about the Binutils mailing list