User Tools

Site Tools


start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start [2025/06/04 20:07] dokurootstart [2025/09/30 12:42] (current) dokuroot
Line 4: Line 4:
  
 \\ \\
 +
 +
 +[[taskwarrior-notes|Notes on Taskwarrior]]
 +
 +[[iloveclim-dep-notes|Notes on iLOVECLIM dependencies]]
  
 ====== Admunix related things ====== ====== Admunix related things ======
Line 48: Line 53:
 We can use valgrind to create a callgraph as follows. After compiling the code with the -pg option run: We can use valgrind to create a callgraph as follows. After compiling the code with the -pg option run:
 <code> <code>
-valgrind --dsymutil=no --tool=callgrind myexec.x+valgrind --dsymutil=yes --tool=callgrind myexec.x 
 +</code> 
 +After the run, obtained ''callgrind.out.1234'' file can be processed with gprof2dot as: 
 +<code> 
 +gprof2dot.py -n0 -e0 ./callgrind.out.1992 -f callgrind > callgrind.out.1234.dot 
 +</code> 
 +Then use dot to create the actual graph: 
 +<code> 
 +dot -Tpng out.dot -o out.png
 </code> </code>
  
 +In the case you want to filter out the system calls from the graph, the solution of : [[https://stackoverflow.com/a/7774742]] works like a charm. 
start.1749067651.txt.gz · Last modified: 2025/06/04 20:07 by dokuroot