[PATCH v2 13/28] linux-user: Include trace-root.h in syscall-trace.h

Richard Henderson posted 28 patches 6 years, 1 month ago
There is a newer version of this series
[PATCH v2 13/28] linux-user: Include trace-root.h in syscall-trace.h
Posted by Richard Henderson 6 years, 1 month ago
Code movement in an upcoming patch will show that this file
was implicitly depending on trace-root.h being included beforehand.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 include/user/syscall-trace.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/user/syscall-trace.h b/include/user/syscall-trace.h
index 9e60473643..79fd3e5aa9 100644
--- a/include/user/syscall-trace.h
+++ b/include/user/syscall-trace.h
@@ -10,6 +10,8 @@
 #ifndef _SYSCALL_TRACE_H_
 #define _SYSCALL_TRACE_H_
 
+#include "trace-root.h"
+
 /*
  * These helpers just provide a common place for the various
  * subsystems that want to track syscalls to put their hooks in. We
-- 
2.20.1


Re: [PATCH v2 13/28] linux-user: Include trace-root.h in syscall-trace.h
Posted by Alex Bennée 6 years, 1 month ago
Richard Henderson <richard.henderson@linaro.org> writes:

> Code movement in an upcoming patch will show that this file
> was implicitly depending on trace-root.h being included beforehand.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  include/user/syscall-trace.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/user/syscall-trace.h b/include/user/syscall-trace.h
> index 9e60473643..79fd3e5aa9 100644
> --- a/include/user/syscall-trace.h
> +++ b/include/user/syscall-trace.h
> @@ -10,6 +10,8 @@
>  #ifndef _SYSCALL_TRACE_H_
>  #define _SYSCALL_TRACE_H_
>  
> +#include "trace-root.h"
> +
>  /*
>   * These helpers just provide a common place for the various
>   * subsystems that want to track syscalls to put their hooks in. We


-- 
Alex Bennée