Follow

I'm using the perf profiling tool for the first time. Is there a reason why the top line has its “Children” field equal to 24 % and not 100 % ?

@otini Probably, but it's hard to say with such a limited part of the full content.

@loke Here is a more complete view. The program I want to profile is binsec, it spawns the process unisim-armsec and exchanges messages with it. I don't really understand why bash is involved.

@otini Is it spawning the process using system()? Then it launches the shell to perform wildcard expansion.

@loke It is done using Unix.open_process, which apparently interprets the command using /bin/sh.

Sign in to participate in the conversation
Functional Café

functional.cafe is an instance for people interested in functional programming and languages.