[FIX] change paths and remove redundant includes in ks_features
authorAlexander Aksenov <a.aksenov@samsung.com>
Mon, 11 Nov 2013 10:44:20 +0000 (14:44 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Tue, 12 Nov 2013 07:37:06 +0000 (11:37 +0400)
Change absolute paths to relative ones in kprobe #include.
Remove redundant includes for kprobe

Change-Id: I606127ecfcad8290a093905dff138b78b57041a4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
build.sh
ks_features/ks_features.c

index ea5b284..e87f476 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -78,7 +78,7 @@ make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${us_manager
 
 ks_features_module_name=swap_ks_features.ko
 make CROSS_COMPILE=${cross_compile} ARCH=${arch} -C ${kernel_dir} M=${ks_features_dir} \
-       extra_cflags="-Werror -I${modules_dir} -I${kprobe_dir} -I${kprobe_arch_dir} -I${ksyms_dir}" \
+       extra_cflags="-Werror -I${modules_dir} -I${kprobe_arch_dir}" \
        modules || exit 1
 
 sampler_module_name=swap_sampler.ko
index 3efc31d..a9707e9 100644 (file)
@@ -25,8 +25,8 @@
 
 #include <linux/module.h>
 #include <asm/errno.h>
-#include <ksyms.h>
-#include <dbi_kprobes.h>
+#include <ksyms/ksyms.h>
+#include <kprobe/dbi_kprobes.h>
 #include <writer/swap_writer_module.h>
 #include "ks_features.h"
 #include "syscall_list.h"