#229 operf/ppc64: Allow use of event names without _GRP<n> suffix


With legacy oprofile, we could not profile on more events than we had hardware resources for. For example, if the processor only has 4 performance monitor counters, then only 4 events (at most) could be profiled simultaneously. Additionally, some architectures had limitations where some events can only be counted on certain hardware counters. This situation is quite problematic on IBM POWER processors (i.e., ppc64 architecture), and the concept of groups of events is used to ensure that the user requests only events that are in the same group -- implying that those events are evenly scattered across available performance monitor counters, with no overlap.

With operf, the underlying perf_events kernel code can multiplex events, so the user *can* profile on more events than the processors has physical resources to accomodate simultaneously. When using operf, we should allow ppc64 users to specify events without the _GRP<n> suffix.


  • Maynard Johnson

    Maynard Johnson - 2013-01-23
    • status: open --> open-fixed
  • Maynard Johnson

    Maynard Johnson - 2013-01-23

    Fix committed on Jan 11, 2013

  • Maynard Johnson

    Maynard Johnson - 2013-07-29
    • status: open-fixed --> closed-fixed
    • Group: -->

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks