1. 10 12月, 2011 4 次提交
  2. 09 12月, 2011 1 次提交
  3. 01 12月, 2011 3 次提交
  4. 29 11月, 2011 2 次提交
  5. 27 11月, 2011 7 次提交
  6. 24 11月, 2011 10 次提交
  7. 23 11月, 2011 1 次提交
  8. 22 11月, 2011 4 次提交
  9. 21 11月, 2011 5 次提交
  10. 18 11月, 2011 2 次提交
  11. 17 11月, 2011 1 次提交
    • W
      ARM: perf: initialise used_mask for fake PMU during validation · bce34d14
      Will Deacon 提交于
      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: NPawel Moll <pawel.moll@arm.com>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      bce34d14