cregit-Linux how code gets into the kernel

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

PersonTokensPropCommitsCommitProp
Akinobu Mita1230.77%125.00%
William Cohen1025.64%125.00%
John Levon923.08%125.00%
Greg Banks820.51%125.00%
Total39100.00%4100.00%


void oprofile_arch_exit(void) { #ifdef CONFIG_PERFMON perfmon_exit(); #endif }

Contributors

PersonTokensPropCommitsCommitProp
John Levon1066.67%150.00%
William Cohen533.33%150.00%
Total15100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
William Cohen3636.36%125.00%
John Levon2828.28%125.00%
Greg Banks2323.23%125.00%
Akinobu Mita1212.12%125.00%
Total99100.00%4100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.