Release 4.14 arch/ia64/oprofile/init.c
/**
* @file init.c
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon <levon@movementarian.org>
*/
#include <linux/kernel.h>
#include <linux/oprofile.h>
#include <linux/init.h>
#include <linux/errno.h>
extern int perfmon_init(struct oprofile_operations *ops);
extern void perfmon_exit(void);
extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth);
int __init oprofile_arch_init(struct oprofile_operations *ops)
{
int ret = -ENODEV;
#ifdef CONFIG_PERFMON
/* perfmon_init() can fail, but we have no way to report it */
ret = perfmon_init(ops);
#endif
ops->backtrace = ia64_backtrace;
return ret;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Akinobu Mita | 12 | 30.77% | 1 | 25.00% |
William Cohen | 10 | 25.64% | 1 | 25.00% |
John Levon | 9 | 23.08% | 1 | 25.00% |
Greg Banks | 8 | 20.51% | 1 | 25.00% |
Total | 39 | 100.00% | 4 | 100.00% |
void oprofile_arch_exit(void)
{
#ifdef CONFIG_PERFMON
perfmon_exit();
#endif
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
John Levon | 10 | 66.67% | 1 | 50.00% |
William Cohen | 5 | 33.33% | 1 | 50.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
William Cohen | 36 | 36.36% | 1 | 25.00% |
John Levon | 28 | 28.28% | 1 | 25.00% |
Greg Banks | 23 | 23.23% | 1 | 25.00% |
Akinobu Mita | 12 | 12.12% | 1 | 25.00% |
Total | 99 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.