kprobes.c (e3869792990f708c97be5877499cada70d469bd3) kprobes.c (1eeb66a1bb973534dc3d064920a5ca683823372e)
1/*
2 * Kernel Probes (KProbes)
3 * kernel/kprobes.c
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 28 unchanged lines hidden (view full) ---

37#include <linux/slab.h>
38#include <linux/stddef.h>
39#include <linux/module.h>
40#include <linux/moduleloader.h>
41#include <linux/kallsyms.h>
42#include <linux/freezer.h>
43#include <linux/seq_file.h>
44#include <linux/debugfs.h>
1/*
2 * Kernel Probes (KProbes)
3 * kernel/kprobes.c
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.

--- 28 unchanged lines hidden (view full) ---

37#include <linux/slab.h>
38#include <linux/stddef.h>
39#include <linux/module.h>
40#include <linux/moduleloader.h>
41#include <linux/kallsyms.h>
42#include <linux/freezer.h>
43#include <linux/seq_file.h>
44#include <linux/debugfs.h>
45#include <linux/kdebug.h>
45#include <asm-generic/sections.h>
46#include <asm/cacheflush.h>
47#include <asm/errno.h>
46#include <asm-generic/sections.h>
47#include <asm/cacheflush.h>
48#include <asm/errno.h>
48#include <asm/kdebug.h>
49
50#define KPROBE_HASH_BITS 6
51#define KPROBE_TABLE_SIZE (1 << KPROBE_HASH_BITS)
52
53
54/*
55 * Some oddball architectures like 64bit powerpc have function descriptors
56 * so this must be overridable.

--- 881 unchanged lines hidden ---
49
50#define KPROBE_HASH_BITS 6
51#define KPROBE_TABLE_SIZE (1 << KPROBE_HASH_BITS)
52
53
54/*
55 * Some oddball architectures like 64bit powerpc have function descriptors
56 * so this must be overridable.

--- 881 unchanged lines hidden ---