1. 22 Nov, 2011 1 commit
  2. 17 Nov, 2011 1 commit
    • Will Deacon's avatar
      ARM: perf: initialise used_mask for fake PMU during validation · bce34d14
      Will Deacon authored
      When validating an event group, we call pmu->get_event_idx for each
      group member in order to check that the group can be scheduled as a
      unit on an empty PMU.
      
      As a result of 3fc2c830 ("ARM: perf: remove event limit from
      pmu_hw_events"), the used_mask member of struct cpu_hw_events must be
      setup explicitly, something which we don't do for the fake cpu_hw_events
      used for validation.
      
      This patch sets up an empty used_mask for the fake validation
      cpu_hw_events, preventing NULL deferences when trying to get the event
      index.
      Reported-by: default avatarPawel Moll <pawel.moll@arm.com>
      Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
      bce34d14
  3. 16 Nov, 2011 2 commits
  4. 15 Nov, 2011 7 commits
  5. 14 Nov, 2011 7 commits
  6. 13 Nov, 2011 1 commit
  7. 12 Nov, 2011 17 commits
  8. 11 Nov, 2011 4 commits