Skip to main content
0 votes
1 answer
61 views

Suppose i have function foo void foo() { //do something } Now this fn foo is now called by other function defined in other files. if gprof is enabled it would do profiling activity and subroutines ...
surajrgupta's user avatar
2 votes
1 answer
76 views

I have 2 projects in c. They both are configured with CMake using similar CMakeLists.txt. The first generates gmon.out file normally. It can be seen with gprof. The second generates barely empty gmon....
Ilya Babakov's user avatar
0 votes
1 answer
72 views

i need to do code coverage in several very resource constrained device in bare metal. when i try to enable this stuff my ram usage doubles and code size blows up nothing fits. its functionally not ...
user3696153's user avatar
1 vote
1 answer
51 views

I'm developing my own allocator and using the LD_PRELOAD environment variable to interpose libcs malloc function. I want to profile my code when running some applications, such as measuring the time ...
Kim TaeHyeon's user avatar
2 votes
1 answer
252 views

I have a code that is a mix of Fortran, C and R. it's a simulation code. The backend/solver is in Fortran and C and R is used as the wrapper for creating simulation workflow and launching the process. ...
Dude's user avatar
  • 250
1 vote
1 answer
519 views

The GNU compiler toolset has a profiler "gprof" for performance analysis of C++ programs. With the -pg switch, the gcc compiler will make executables that write a data file, "gmon.out&...
Daniel R. Collins's user avatar
1 vote
0 answers
44 views

I would like to have a coarse filter for my callgrind output. If I ask callgrind to capture a run, I want to tell it to prune at a .so level. For instance, I would like to tell it that it should not ...
Bram's user avatar
  • 8,473
0 votes
0 answers
357 views

I'm trying to use gprof for a project that runs in a small embedded OS (https://github.com/smartobjectoriented/so3). Compilation for this OS is done using the "aarch64-none-linux-gnu-" ...
AnthoJack's user avatar
  • 177
0 votes
1 answer
188 views

Due to certain restrictions I can not have golang as part of my environment. I would like to use the HEAPPROFILE generated by tcmalloc. To the best of my knowledge only way to make it human readable ...
Abhishek Kumar's user avatar
3 votes
2 answers
2k views

I am trying to get into C language and looking for a profiler or tracer tool that supports timeline view representation with every function calls. Something like tracing via PHP xDebug. Where all ...
Stas Ilnytskyi's user avatar
1 vote
0 answers
278 views

I have dockerfile: FROM alpine:3.18.2 WORKDIR /app RUN apk add gdb gcc musl-dev make binutils COPY ./src /app RUN gcc main.c -pg -o app But compilation fails with an error: /usr/lib/gcc/x86_64-alpine-...
User's user avatar
  • 21
1 vote
0 answers
145 views

Is there an option i am missing that i couldnt find? i have searched the internets and all the articles show the flat profile in milliseconds without any added option tags, but my gprof outputs the ...
Pato Srna's user avatar
  • 110
0 votes
0 answers
43 views

I have captured the gprof profiler output while running a c++ program. I got below logs I found that there are two functions which are consuming most time ie receiveXappMessages and load() function. I ...
myquest9 sh's user avatar
0 votes
0 answers
112 views

I am profiling a Fortran code with gprof. I run this code on a cluster, where I request 24 cores from 1 node. The job is submitted via slurm. The command to run the code, inside the submission.sh I ...
velenos14's user avatar
  • 586
2 votes
1 answer
3k views

I've profiled a C++ application using GNU gprof. It would be really nice to visualize the data and for that purpose I found a python utility gprof2dot, which creates a graph from the gprof data, nice! ...
apprentice's user avatar

15 30 50 per page
1
2 3 4 5
22