Release 4.14 arch/x86/oprofile/init.c
/**
* @file init.c
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon <levon@movementarian.org>
*/
#include <linux/oprofile.h>
#include <linux/init.h>
#include <linux/errno.h>
/*
* We support CPUs that have performance counters like the Pentium Pro
* with the NMI mode driver.
*/
#ifdef CONFIG_X86_LOCAL_APIC
extern int op_nmi_init(struct oprofile_operations *ops);
extern void op_nmi_exit(void);
#else
static int op_nmi_init(struct oprofile_operations *ops) { return -ENODEV; }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Robert Richter | 8 | 53.33% | 1 | 50.00% |
John Levon | 7 | 46.67% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
static void op_nmi_exit(void) { }
Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Levon | 4 | 57.14% | 2 | 50.00% |
Robert Richter | 2 | 28.57% | 1 | 25.00% |
David Gibson | 1 | 14.29% | 1 | 25.00% |
Total | 7 | 100.00% | 4 | 100.00% |
#endif
extern void x86_backtrace(struct pt_regs * const regs, unsigned int depth);
int __init oprofile_arch_init(struct oprofile_operations *ops)
{
ops->backtrace = x86_backtrace;
return op_nmi_init(ops);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Levon | 10 | 43.48% | 1 | 25.00% |
Greg Banks | 6 | 26.09% | 1 | 25.00% |
Robert Richter | 4 | 17.39% | 1 | 25.00% |
Akinobu Mita | 3 | 13.04% | 1 | 25.00% |
Total | 23 | 100.00% | 4 | 100.00% |
void oprofile_arch_exit(void)
{
op_nmi_exit();
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Levon | 9 | 90.00% | 1 | 50.00% |
David Gibson | 1 | 10.00% | 1 | 50.00% |
Total | 10 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Levon | 47 | 44.76% | 3 | 33.33% |
Robert Richter | 27 | 25.71% | 1 | 11.11% |
Greg Banks | 21 | 20.00% | 1 | 11.11% |
Andrew Morton | 3 | 2.86% | 1 | 11.11% |
David Gibson | 3 | 2.86% | 1 | 11.11% |
Akinobu Mita | 3 | 2.86% | 1 | 11.11% |
Paolo Ciarrocchi | 1 | 0.95% | 1 | 11.11% |
Total | 105 | 100.00% | 9 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.