Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.15-rc4 27 lines 525 B view raw
1#ifndef __PERF_REGS_H 2#define __PERF_REGS_H 3 4#include "types.h" 5#include "event.h" 6 7#ifdef HAVE_PERF_REGS_SUPPORT 8#include <perf_regs.h> 9 10int perf_reg_value(u64 *valp, struct regs_dump *regs, int id); 11 12#else 13#define PERF_REGS_MASK 0 14 15static inline const char *perf_reg_name(int id __maybe_unused) 16{ 17 return NULL; 18} 19 20static inline int perf_reg_value(u64 *valp __maybe_unused, 21 struct regs_dump *regs __maybe_unused, 22 int id __maybe_unused) 23{ 24 return 0; 25} 26#endif /* HAVE_PERF_REGS_SUPPORT */ 27#endif /* __PERF_REGS_H */