[PATCH] gprofng: a new GNU profiler
Vladimir Mezentsev
vladimir.mezentsev@oracle.com
Mon Oct 11 20:00:43 GMT 2021
On 10/8/21 9:23 AM, Florian Weimer wrote:
>> gprofng archive EXPERIMENT
>>
>> Archive the associated application binaries, load objects and source
>> files in an existing experiment directory to make it self contained.
> This looks very useful. Can it be generalized to support coredumps?
This question is not for gprofng.
I would like to have the self-contained core file too. Something like
% gdb-archive core
If we tell about core files, I suggest adding two possibilities in Linux:
1. If an application is running interactively, run gdb and attach to the
process instead of creating the core file.
2. Run pstack instead of creating the core file.
-Vladimir
> So that it is possible to get identical debugging experience on a
> system where the necessary prerequisites are not installed?
More information about the Binutils
mailing list