Release 4.14 tools/perf/util/perf_regs.h
/* SPDX-License-Identifier: GPL-2.0 */
#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[];
enum {
SDT_ARG_VALID = 0,
SDT_ARG_SKIP,
};
int arch_sdt_arg_parse_op(char *old_op, char **new_op);
#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 | 56.67% | 3 | 23.08% |
Stéphane Eranian | 33 | 22.00% | 2 | 15.38% |
Ravi Bangoria | 13 | 8.67% | 1 | 7.69% |
Alexis Berlemont | 9 | 6.00% | 1 | 7.69% |
Sukadev Bhattiprolu | 3 | 2.00% | 1 | 7.69% |
Ingo Molnar | 2 | 1.33% | 1 | 7.69% |
Namhyung Kim | 2 | 1.33% | 1 | 7.69% |
Borislav Petkov | 1 | 0.67% | 1 | 7.69% |
Irina Tirdea | 1 | 0.67% | 1 | 7.69% |
Greg Kroah-Hartman | 1 | 0.67% | 1 | 7.69% |
Total | 150 | 100.00% | 13 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.