small perfmon1 patch for 2.4

From: Stephane Eranian <>
Date: 2003-09-11 04:42:58

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.



To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at

Received on Wed Sep 10 14:44:20 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:17 EST