Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
thunar:dev:gprof [2021/08/14 21:17] – alexxconsthunar:dev:gprof [2026/10/11 10:23] (current) – alexxcons
Line 1: Line 1:
-Add the following into ''thunar/thunar/Makefile.am'': +Setup the build directory with gprof flags 
-  thunar_CFLAGS +=-pg +   meson setup build -Dc_args="-pg" -Dc_link_args="-pg"
-   +
-Build thunar +
-  ./autogen.sh && make +
-   +
-Start thunar +
-  thunar/.libs/thunar +
-   +
-Start gprof: +
-  gprof thunar/.libs/thunar gmon.out > analysis.txt+
  
-Reproduce the use-case to test, than quit thunar and check the result.+Compile the project 
 +   meson compile -C build 
 + 
 +Run the testcase to generate 'gmon.out' 
 +   ./build/thunar/thunar 
 + 
 +Analyze with gprof 
 +   gprof ./build/thunar/thunar gmon.out > analysis.txt