Re: [PATCH v5 03/12] MIPS: add support for software performance events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/27/2010 06:03 AM, Deng-Cheng Zhu wrote:
Software events are required as part of the measurable stuff by the
Linux performance counter subsystem. Here is the list of events added by
this patch:
PERF_COUNT_SW_PAGE_FAULTS
PERF_COUNT_SW_PAGE_FAULTS_MIN
PERF_COUNT_SW_PAGE_FAULTS_MAJ
PERF_COUNT_SW_ALIGNMENT_FAULTS
PERF_COUNT_SW_EMULATION_FAULTS

Signed-off-by: Deng-Cheng Zhu<dengcheng.zhu@xxxxxxxxx>

Acked-by: David Daney <ddaney@xxxxxxxxxxxxxxxxxx>

---
  arch/mips/Kconfig            |    2 ++
  arch/mips/kernel/traps.c     |   18 +++++++++++++++---
  arch/mips/kernel/unaligned.c |    5 +++++
  arch/mips/math-emu/cp1emu.c  |    3 +++
  arch/mips/mm/fault.c         |   11 +++++++++--
  5 files changed, 34 insertions(+), 5 deletions(-)

[...]



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux