Skip to content

Generate instruction-accurate callgrind trace outputs from an embedded target

License

Notifications You must be signed in to change notification settings

jpieper/gdbundle-gdb-callgrind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gdbundle-gdb-callgrind

This is a gdb plugin, packaged using gdbundle, which can emit callgrind style call tree information using gdb single instruction stepping. This makes it possible to generate call tree profiling information on arbitrary remote targets, like microcontrollers, at the expense of the process being quite slow.

Installation

$ pip install gdbundle-gdb-callgrind

Usage

(gdb) emit_callgrind

Optionally, a terminal program counter can be specified as an argument to emit_callgrind. If omitted, then profiling proceeds until the end of the current function.

About

Generate instruction-accurate callgrind trace outputs from an embedded target

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages