File: init.c

package info (click to toggle)
linux 5.10.223-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,146,624 kB
  • sloc: ansic: 19,557,837; asm: 264,021; sh: 75,293; makefile: 44,829; perl: 34,675; python: 32,447; cpp: 6,075; yacc: 4,748; lex: 2,743; awk: 1,215; ruby: 25; sed: 5
file content (26 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (31)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
 * @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;
}


void oprofile_arch_exit(void)
{
}