• Ell's avatar
    app: add GimpBacktrace · 80bf686c
    Ell authored
    GimpBacktrace provides an interface for creating and traversing
    multi-threaded backtraces, as well as querying symbol information.
    While we already have some backtrace functionality, it relies on
    external tools for the most part, and as such is rather expensive,
    and is only meant for producing opaque backtraces.  GimpBacktrace,
    on the other hand, is meant to be relatively cheap (we're going to
    use it for profiling,) and allow inspection of the backtrace data.
    In the future, it might make sense to replace some, or all, of the
    other backtrace functions with GimpBacktrace.
    
    GimpBacktrace currently only supports Linux.  By default, it uses
    dladdr() to query symbol information, which is somewhat limited (in
    particular, it doesn't work for static functions.)  When libunwind
    is installed, GimpBacktrace uses it to get more complete symbol
    information.  libunwind is currently an optional dependency, but it
    might make sense to promote it to a mandatory, or opt-out,
    dependency, as it's lightweight and widely available.
    
    On other platforms, the GimpBacktrace interface can still be used,
    but it always returns NULL backtraces.
    80bf686c
Name
Last commit
Last update
..
actions Loading commit data...
config Loading commit data...
core Loading commit data...
dialogs Loading commit data...
display Loading commit data...
file Loading commit data...
gegl Loading commit data...
gui Loading commit data...
menus Loading commit data...
operations Loading commit data...
paint Loading commit data...
pdb Loading commit data...
plug-in Loading commit data...
propgui Loading commit data...
tests Loading commit data...
text Loading commit data...
tools Loading commit data...
vectors Loading commit data...
widgets Loading commit data...
xcf Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
about.h Loading commit data...
app.c Loading commit data...
app.h Loading commit data...
errors.c Loading commit data...
errors.h Loading commit data...
gimp-debug.c Loading commit data...
gimp-debug.h Loading commit data...
gimp-intl.h Loading commit data...
gimp-log.c Loading commit data...
gimp-log.h Loading commit data...
gimp-priorities.h Loading commit data...
gimp-version.c Loading commit data...
gimp-version.h Loading commit data...
gimpcore.def Loading commit data...
language.c Loading commit data...
language.h Loading commit data...
main.c Loading commit data...
sanity.c Loading commit data...
sanity.h Loading commit data...
signals.c Loading commit data...
signals.h Loading commit data...
tests.c Loading commit data...
tests.h Loading commit data...
unique.c Loading commit data...
unique.h Loading commit data...