From: Marc Zyngier <hidden> Date: 2012-11-22 11:47:31
Commit e50c541 (ARM: perf: add guest vs host discrimination) broken the
link as perf_instruction_pointer and perf_misc_flags are not defined
when CONFIG_HW_PERF_EVENTS is not selected.
As it make little sense to try and profile a guest without any HW event,
just fallback to the original code when this config option is not selected.
Reported-by: Russell King <redacted>
Cc: Will Deacon <redacted>
Signed-off-by: Marc Zyngier <redacted>
---
arch/arm/include/asm/perf_event.h | 2 ++
1 file changed, 2 insertions(+)
From: Will Deacon <hidden> Date: 2012-11-22 11:58:12
On Thu, Nov 22, 2012 at 11:47:31AM +0000, Marc Zyngier wrote:
quoted hunk
Commit e50c541 (ARM: perf: add guest vs host discrimination) broken the
link as perf_instruction_pointer and perf_misc_flags are not defined
when CONFIG_HW_PERF_EVENTS is not selected.
As it make little sense to try and profile a guest without any HW event,
just fallback to the original code when this config option is not selected.
Reported-by: Russell King <redacted>
Cc: Will Deacon <redacted>
Signed-off-by: Marc Zyngier <redacted>
---
arch/arm/include/asm/perf_event.h | 2 ++
1 file changed, 2 insertions(+)
Acked-by: Will Deacon <redacted>
Thanks Marc for the fix and Russell for reporting the issue.
Please can you stick this in the patch system as I don't have any other
perf patches pending for 3.8?
Will
From: Marc Zyngier <hidden> Date: 2012-11-22 12:08:57
On 22/11/12 11:58, Will Deacon wrote:
On Thu, Nov 22, 2012 at 11:47:31AM +0000, Marc Zyngier wrote:
quoted
Commit e50c541 (ARM: perf: add guest vs host discrimination) broken the
link as perf_instruction_pointer and perf_misc_flags are not defined
when CONFIG_HW_PERF_EVENTS is not selected.
As it make little sense to try and profile a guest without any HW event,
just fallback to the original code when this config option is not selected.
Reported-by: Russell King <redacted>
Cc: Will Deacon <redacted>
Signed-off-by: Marc Zyngier <redacted>
---
arch/arm/include/asm/perf_event.h | 2 ++
1 file changed, 2 insertions(+)
Acked-by: Will Deacon <redacted>
Thanks Marc for the fix and Russell for reporting the issue.
Please can you stick this in the patch system as I don't have any other
perf patches pending for 3.8?
Queued as 7584/1.
Cheers,
M.
--
Jazz is not dead. It just smells funny...