Loading arch/parisc/Kconfig +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ config PARISC select RTC_DRV_GENERIC select INIT_ALL_POSSIBLE select BUG select HAVE_PERF_COUNTERS help The PA-RISC microprocessor is designed by Hewlett-Packard and used in many of their workstations & servers (HP9000 700 and 800 series, Loading arch/parisc/include/asm/perf_counter.h 0 → 100644 +7 −0 Original line number Diff line number Diff line #ifndef __ASM_PARISC_PERF_COUNTER_H #define __ASM_PARISC_PERF_COUNTER_H /* parisc only supports software counters through this interface. */ static inline void set_perf_counter_pending(void) { } #endif /* __ASM_PARISC_PERF_COUNTER_H */ arch/parisc/kernel/syscall_table.S +1 −1 Original line number Diff line number Diff line Loading @@ -416,7 +416,7 @@ ENTRY_COMP(preadv) /* 315 */ ENTRY_COMP(pwritev) ENTRY_COMP(rt_tgsigqueueinfo) ENTRY_SAME(ni_syscall) ENTRY_SAME(perf_counter_open) /* Nothing yet */ Loading tools/perf/perf.h +6 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,12 @@ #define cpu_relax() asm volatile("" ::: "memory"); #endif #ifdef __hppa__ #include "../../arch/parisc/include/asm/unistd.h" #define rmb() asm volatile("" ::: "memory") #define cpu_relax() asm volatile("" ::: "memory"); #endif #include <time.h> #include <unistd.h> #include <sys/types.h> Loading Loading
arch/parisc/Kconfig +1 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ config PARISC select RTC_DRV_GENERIC select INIT_ALL_POSSIBLE select BUG select HAVE_PERF_COUNTERS help The PA-RISC microprocessor is designed by Hewlett-Packard and used in many of their workstations & servers (HP9000 700 and 800 series, Loading
arch/parisc/include/asm/perf_counter.h 0 → 100644 +7 −0 Original line number Diff line number Diff line #ifndef __ASM_PARISC_PERF_COUNTER_H #define __ASM_PARISC_PERF_COUNTER_H /* parisc only supports software counters through this interface. */ static inline void set_perf_counter_pending(void) { } #endif /* __ASM_PARISC_PERF_COUNTER_H */
arch/parisc/kernel/syscall_table.S +1 −1 Original line number Diff line number Diff line Loading @@ -416,7 +416,7 @@ ENTRY_COMP(preadv) /* 315 */ ENTRY_COMP(pwritev) ENTRY_COMP(rt_tgsigqueueinfo) ENTRY_SAME(ni_syscall) ENTRY_SAME(perf_counter_open) /* Nothing yet */ Loading
tools/perf/perf.h +6 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,12 @@ #define cpu_relax() asm volatile("" ::: "memory"); #endif #ifdef __hppa__ #include "../../arch/parisc/include/asm/unistd.h" #define rmb() asm volatile("" ::: "memory") #define cpu_relax() asm volatile("" ::: "memory"); #endif #include <time.h> #include <unistd.h> #include <sys/types.h> Loading