Release 4.11 tools/perf/util/perf_regs.h
#ifndef __PERF_REGS_H
#define __PERF_REGS_H
#include <linux/types.h>
#include <linux/compiler.h>
struct regs_dump;
struct sample_reg {
const char *name;
uint64_t mask;
};
#define SMPL_REG(n, b) { .name = #n, .mask = 1ULL << (b) }
#define SMPL_REG_END { .name = NULL }
extern const struct sample_reg sample_reg_masks[];
#ifdef HAVE_PERF_REGS_SUPPORT
#include <perf_regs.h>
int perf_reg_value(u64 *valp, struct regs_dump *regs, int id);
#else
#define PERF_REGS_MASK 0
#define PERF_REGS_MAX 0
static inline const char *perf_reg_name(int id __maybe_unused)
{
return NULL;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jiri Olsa | 15 | 93.75% | 1 | 50.00% |
Irina Tirdea | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
static inline int perf_reg_value(u64 *valp __maybe_unused,
struct regs_dump *regs __maybe_unused,
int id __maybe_unused)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jiri Olsa | 25 | 100.00% | 1 | 100.00% |
Total | 25 | 100.00% | 1 | 100.00% |
#endif /* HAVE_PERF_REGS_SUPPORT */
#endif /* __PERF_REGS_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jiri Olsa | 85 | 66.93% | 3 | 30.00% |
Stéphane Eranian | 33 | 25.98% | 2 | 20.00% |
Sukadev Bhattiprolu | 3 | 2.36% | 1 | 10.00% |
Ingo Molnar | 2 | 1.57% | 1 | 10.00% |
Namhyung Kim | 2 | 1.57% | 1 | 10.00% |
Borislav Petkov | 1 | 0.79% | 1 | 10.00% |
Irina Tirdea | 1 | 0.79% | 1 | 10.00% |
Total | 127 | 100.00% | 10 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.