Hi, The attached patch fixes a long standing bug in the perfmon-1 implementation for all 2.4 based kernels. The PFM_FL_INHERIT_ONCE flag is defined as allowing a perfmon context to be clone ONCE across fork. Without this fix, it is in fact clone to all first level child of the parent process. That's why, for instance, when you run pfmon-2.0 on a command, you see 3 active per-process sessions instead of two (pfmon is multi-threaded). Bjorn, please apply this patch in your 2.4 tree. Thanks. -- -Stephane