diff options
author | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2013-04-04 11:11:50 +0400 |
---|---|---|
committer | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2013-04-04 11:23:13 +0400 |
commit | 79fb4f3c87cdd244bb564806221dca1813465b94 (patch) | |
tree | 5ddf811981e83df9211f8932046acb5b74c274d3 /kprobe | |
parent | 924d19f37e5bcaa439925034f467e33e06f42b74 (diff) | |
download | swap-modules-79fb4f3c87cdd244bb564806221dca1813465b94.tar.gz swap-modules-79fb4f3c87cdd244bb564806221dca1813465b94.tar.bz2 swap-modules-79fb4f3c87cdd244bb564806221dca1813465b94.zip |
[REFACTOR] remove arch/dbi_kprobes.*
files:
src/modules/kprobe/arch/dbi_kprobes.h
src/modules/kprobe/arch/dbi_kprobes.c
Diffstat (limited to 'kprobe')
-rw-r--r-- | kprobe/Kbuild | 2 | ||||
-rw-r--r-- | kprobe/arch/dbi_kprobes.c | 62 | ||||
-rw-r--r-- | kprobe/arch/dbi_kprobes.h | 62 | ||||
-rw-r--r-- | kprobe/dbi_kprobes.c | 1 |
4 files changed, 1 insertions, 126 deletions
diff --git a/kprobe/Kbuild b/kprobe/Kbuild index e0e6bc26..d086f97a 100644 --- a/kprobe/Kbuild +++ b/kprobe/Kbuild @@ -1,5 +1,5 @@ EXTRA_CFLAGS := $(extra_cflags) obj-m := swap_kprobe.o -swap_kprobe-y := dbi_kprobes_deps.o dbi_insn_slots.o arch/asm/dbi_kprobes.o arch/dbi_kprobes.o dbi_kprobes.o +swap_kprobe-y := dbi_kprobes_deps.o dbi_insn_slots.o arch/asm/dbi_kprobes.o dbi_kprobes.o swap_kprobe-$(CONFIG_ARM) += arch/asm/trampoline_arm.o diff --git a/kprobe/arch/dbi_kprobes.c b/kprobe/arch/dbi_kprobes.c deleted file mode 100644 index 25088f7d..00000000 --- a/kprobe/arch/dbi_kprobes.c +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Kernel Probes (KProbes) - * arch/<arch>/kernel/kprobes.c - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * Copyright (C) IBM Corporation, 2002, 2004 - */ - -/* - * Dynamic Binary Instrumentation Module based on KProbes - * modules/kprobe/arch/dbi_kprobes.c - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * Copyright (C) Samsung Electronics, 2006-2010 - * - * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM and MIPS - * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts - * - - */ - -#include "dbi_kprobes.h" -#include "../dbi_kprobes.h" -#include "asm/dbi_kprobes.h" - -#include "../dbi_kdebug.h" -#include "../dbi_insn_slots.h" -#include "../dbi_kprobes_deps.h" - -#include <linux/module.h> -#include <ksyms.h> - -extern struct hlist_head kprobe_insn_pages; - diff --git a/kprobe/arch/dbi_kprobes.h b/kprobe/arch/dbi_kprobes.h deleted file mode 100644 index ff3c960c..00000000 --- a/kprobe/arch/dbi_kprobes.h +++ /dev/null @@ -1,62 +0,0 @@ -#ifndef _DBI_ARCH_KPROBES_H -#define _DBI_ARCH_KPROBES_H - -/* - * Kernel Probes (KProbes) - * include/linux/kprobes.h - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * Copyright (C) IBM Corporation, 2002, 2004 - */ - -/* - * Dynamic Binary Instrumentation Module based on KProbes - * modules/kprobe/arch/dbi_kprobes.h - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * Copyright (C) Samsung Electronics, 2006-2010 - * - * 2006-2007 Ekaterina Gorelkina <e.gorelkina@samsung.com>: initial implementation for ARM and MIPS - * 2008-2009 Alexey Gerenkov <a.gerenkov@samsung.com> User-Space - * Probes initial implementation; Support x86/ARM/MIPS for both user and kernel spaces. - * 2010 Ekaterina Gorelkina <e.gorelkina@samsung.com>: redesign module for separating core and arch parts - * - */ - - -struct kprobe; -struct pt_regs; -struct kretprobe; -struct kretprobe_instance; -struct task_struct; -struct kprobe_ctlblk; - -void dbi_jprobe_return (void); - -#endif /* _DBI_ARCH_KPROBES_H */ diff --git a/kprobe/dbi_kprobes.c b/kprobe/dbi_kprobes.c index 805e9c04..ba496ff4 100644 --- a/kprobe/dbi_kprobes.c +++ b/kprobe/dbi_kprobes.c @@ -47,7 +47,6 @@ */ #include "dbi_kprobes.h" -#include "arch/dbi_kprobes.h" #include "arch/asm/dbi_kprobes.h" #include "dbi_kdebug.h" |