• Ell's avatar
    tools: in performance-log-viewer.py, allow viewing source files ... · 0f387092
    Ell authored
    ... in backtraces
    
    In the performance-log viewer's backtrace viewer, show a document
    icon next to stack frames with source-location information, whose
    source file is found locally.  Clicking the icon opens the source
    file in a text editor at the relevant line.
    
    Two environment variables control this feature:
    
      - PERFORMANCE_LOG_VIEWER_PATH is a list of colon-separated
        directories in which to look for source files.  If this
        variable is undefined, the current directory is used.
    
      - PERFORMANCE_LOG_VIEWER_EDITOR is the command to use to launch
        the text editor, for editing a specific file at a specific
        line.  The special strings "{file}" and "{line}" are replaced
        with the filename and line-number, respectively.  If this
        variable is undefined, "xdg-open {file}" is used.
    0f387092
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile.am Loading commit data...
compute-svg-viewbox.c Loading commit data...
defcheck.py Loading commit data...
extract-vector-icon.sh Loading commit data...
generate-news Loading commit data...
gimp-debug-resume.c Loading commit data...
gimp-mkenums Loading commit data...
gimp-test-clipboard.c Loading commit data...
gimppath2svg.py Loading commit data...
gimptool.c Loading commit data...
kernelgen.c Loading commit data...
module-dependencies.py Loading commit data...
performance-log-deduce.py Loading commit data...
performance-log-expand.py Loading commit data...
performance-log-resolve.py Loading commit data...
performance-log-viewer Loading commit data...
performance-log-viewer.py Loading commit data...