cregit-Linux how code gets into the kernel

Release 4.14 arch/xtensa/oprofile/init.c

/**
 * @file init.c
 *
 * @remark Copyright 2008 Tensilica Inc.
 * @remark Read the file COPYING
 *
 */

#include <linux/kernel.h>
#include <linux/oprofile.h>
#include <linux/errno.h>
#include <linux/init.h>


extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth);


int __init oprofile_arch_init(struct oprofile_operations *ops) { ops->backtrace = xtensa_backtrace; return -ENODEV; }

Contributors

PersonTokensPropCommitsCommitProp
dann21100.00%1100.00%
Total21100.00%1100.00%


void oprofile_arch_exit(void) { }

Contributors

PersonTokensPropCommitsCommitProp
dann6100.00%1100.00%
Total6100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
dann55100.00%1100.00%
Total55100.00%1100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.