pgprof - SIGNALS

Hello,

i have a code that i want to run on pgprof in order to future parallelize, although in my program i have a thread running and it only exits when i do a “ctrl+c” on terminal.

On pgprof, running this application i’m not being able to terminate the execution and get the time line because there’s no place where i can send the ctrl+c signal to the execution.

How can i solve this without having to change the code?

Thanks

Hi caap,

I talked with our profiler folks but unfortunately there isn’t a good way to do this. When you do a ctrl-c, the profiler will shutdown and not produce a profile.

Sorry,
Mat

Thansk for the feedback Mat, I managed to change the code to not have this problem