All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [LTTng-module patch] Improve documentation of the syscall extractor script
       [not found] <1372695867-5068-1-git-send-email-yannick.brosseau@gmail.com>
@ 2013-07-08 16:45 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2013-07-08 16:45 UTC (permalink / raw)
  To: Yannick Brosseau; +Cc: lttng-dev

merged, thanks!

* Yannick Brosseau (yannick.brosseau@gmail.com) wrote:
> Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
> ---
>  instrumentation/syscalls/README                             |    2 +-
>  instrumentation/syscalls/lttng-syscalls-generate-headers.sh |    4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/instrumentation/syscalls/README b/instrumentation/syscalls/README
> index 6c235e1..1e9bec4 100644
> --- a/instrumentation/syscalls/README
> +++ b/instrumentation/syscalls/README
> @@ -12,7 +12,7 @@ is expected). See the dmesg output for system call metadata.
>  
>  Take the dmesg metadata and feed it to lttng-syscalls-generate-headers.sh, e.g.,
>  from the instrumentation/syscalls directory. See the script header for
> -usage example.
> +usage example. It should be run for both the integers and pointers types.
>  
>  After these are created, we just need to follow the new system call additions,
>  no need to regenerate the whole thing, since system calls are only appended to.
> diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh
> index 1754ae8..4ab4599 100755
> --- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh
> +++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh
> @@ -1,8 +1,12 @@
>  #!/bin/sh
>  
>  # Generate system call probe description macros from syscall metadata dump file.
> +# The resulting header will be written in the headers subdirectory, in a file name
> +# based on the name of the input file. 
> +#
>  # example usage:
>  #
> +# lttng-syscalls-generate-headers.sh <type> <input_dir> <input_filename_in_dir> <bitness>
>  # lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls-3.0.4 64
>  # lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls-3.0.4 64
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [LTTng-module patch] Improve documentation of the syscall extractor script
@ 2013-07-01 16:24 Yannick Brosseau
  0 siblings, 0 replies; 2+ messages in thread
From: Yannick Brosseau @ 2013-07-01 16:24 UTC (permalink / raw)
  To: lttng-dev

Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
---
 instrumentation/syscalls/README                             |    2 +-
 instrumentation/syscalls/lttng-syscalls-generate-headers.sh |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/instrumentation/syscalls/README b/instrumentation/syscalls/README
index 6c235e1..1e9bec4 100644
--- a/instrumentation/syscalls/README
+++ b/instrumentation/syscalls/README
@@ -12,7 +12,7 @@ is expected). See the dmesg output for system call metadata.
 
 Take the dmesg metadata and feed it to lttng-syscalls-generate-headers.sh, e.g.,
 from the instrumentation/syscalls directory. See the script header for
-usage example.
+usage example. It should be run for both the integers and pointers types.
 
 After these are created, we just need to follow the new system call additions,
 no need to regenerate the whole thing, since system calls are only appended to.
diff --git a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh
index 1754ae8..4ab4599 100755
--- a/instrumentation/syscalls/lttng-syscalls-generate-headers.sh
+++ b/instrumentation/syscalls/lttng-syscalls-generate-headers.sh
@@ -1,8 +1,12 @@
 #!/bin/sh
 
 # Generate system call probe description macros from syscall metadata dump file.
+# The resulting header will be written in the headers subdirectory, in a file name
+# based on the name of the input file. 
+#
 # example usage:
 #
+# lttng-syscalls-generate-headers.sh <type> <input_dir> <input_filename_in_dir> <bitness>
 # lttng-syscalls-generate-headers.sh integers 3.0.4 x86-64-syscalls-3.0.4 64
 # lttng-syscalls-generate-headers.sh pointers 3.0.4 x86-64-syscalls-3.0.4 64
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-08 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1372695867-5068-1-git-send-email-yannick.brosseau@gmail.com>
2013-07-08 16:45 ` [LTTng-module patch] Improve documentation of the syscall extractor script Mathieu Desnoyers
2013-07-01 16:24 Yannick Brosseau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.