Hello everyone:
    I have a question about oprofile which has puzzled me for several days. The question is what mechnism does OProfile use to locate the process ( or library, kernel image) who is the owner of the current sampled event?
    As I know, the MSR is global and shared by all process. When a overflow interrupt happen, how to know those events  belong to to process A and not belong to process B?
    I try to find some hint in OProfile source code, but no result.