[lttng-dev] [LTTng-module PATCH 2/3] Point the x86-64 overrides to newly extracted 3.10-rc7 files

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Mon Jul 8 12:47:07 EDT 2013


merged, thanks!

* Yannick Brosseau (yannick.brosseau at gmail.com) wrote:
> Signed-off-by: Yannick Brosseau <yannick.brosseau at gmail.com>
> ---
>  instrumentation/syscalls/headers/syscalls_integers.h       |    2 +-
>  instrumentation/syscalls/headers/syscalls_pointers.h       |    2 +-
>  .../headers/x86-64-syscalls-3.0.4_integers_override.h      |    3 ---
>  .../headers/x86-64-syscalls-3.0.4_pointers_override.h      |   12 ------------
>  .../headers/x86-64-syscalls-3.10.0-rc7_integers_override.h |    3 +++
>  .../headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h |   12 ++++++++++++
>  6 files changed, 17 insertions(+), 17 deletions(-)
>  delete mode 100644 instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h
>  delete mode 100644 instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers_override.h
>  create mode 100644 instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h
>  create mode 100644 instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h
> 
> diff --git a/instrumentation/syscalls/headers/syscalls_integers.h b/instrumentation/syscalls/headers/syscalls_integers.h
> index 6a42909..ce0409f 100644
> --- a/instrumentation/syscalls/headers/syscalls_integers.h
> +++ b/instrumentation/syscalls/headers/syscalls_integers.h
> @@ -1,5 +1,5 @@
>  #ifdef CONFIG_X86_64
> -#include "x86-64-syscalls-3.0.4_integers.h"
> +#include "x86-64-syscalls-3.10.0-rc7_integers.h"
>  #endif
>  
>  #ifdef CONFIG_X86_32
> diff --git a/instrumentation/syscalls/headers/syscalls_pointers.h b/instrumentation/syscalls/headers/syscalls_pointers.h
> index d78b036..f5ca566 100644
> --- a/instrumentation/syscalls/headers/syscalls_pointers.h
> +++ b/instrumentation/syscalls/headers/syscalls_pointers.h
> @@ -1,5 +1,5 @@
>  #ifdef CONFIG_X86_64
> -#include "x86-64-syscalls-3.0.4_pointers.h"
> +#include "x86-64-syscalls-3.10.0-rc7_pointers.h"
>  #endif
>  
>  #ifdef CONFIG_X86_32
> diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h
> deleted file mode 100644
> index 5f971e7..0000000
> --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_integers_override.h
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -/*
> - * this is a place-holder for x86_64 integer syscall definition override.
> - */
> diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers_override.h
> deleted file mode 100644
> index 8aa2abc..0000000
> --- a/instrumentation/syscalls/headers/x86-64-syscalls-3.0.4_pointers_override.h
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -#ifndef CREATE_SYSCALL_TABLE
> -
> -#else	/* CREATE_SYSCALL_TABLE */
> -
> -#define OVERRIDE_TABLE_64_sys_clone
> -TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 56, 5)
> -#define OVERRIDE_TABLE_64_sys_execve
> -TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 59, 3)
> -#define OVERRIDE_TABLE_64_sys_getcpu
> -TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 309, 3)
> -
> -#endif /* CREATE_SYSCALL_TABLE */
> diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h
> new file mode 100644
> index 0000000..5f971e7
> --- /dev/null
> +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_integers_override.h
> @@ -0,0 +1,3 @@
> +/*
> + * this is a place-holder for x86_64 integer syscall definition override.
> + */
> diff --git a/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h
> new file mode 100644
> index 0000000..8aa2abc
> --- /dev/null
> +++ b/instrumentation/syscalls/headers/x86-64-syscalls-3.10.0-rc7_pointers_override.h
> @@ -0,0 +1,12 @@
> +#ifndef CREATE_SYSCALL_TABLE
> +
> +#else	/* CREATE_SYSCALL_TABLE */
> +
> +#define OVERRIDE_TABLE_64_sys_clone
> +TRACE_SYSCALL_TABLE(sys_clone, sys_clone, 56, 5)
> +#define OVERRIDE_TABLE_64_sys_execve
> +TRACE_SYSCALL_TABLE(sys_execve, sys_execve, 59, 3)
> +#define OVERRIDE_TABLE_64_sys_getcpu
> +TRACE_SYSCALL_TABLE(sys_getcpu, sys_getcpu, 309, 3)
> +
> +#endif /* CREATE_SYSCALL_TABLE */
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list