]> sourceware.org Git - systemtap.git/commitdiff
Add syscalls.stpm to tapset/bpf to avoid compilation warnings.
authorDavid Smith <dsmith@redhat.com>
Fri, 13 Oct 2017 14:42:48 +0000 (09:42 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 13 Oct 2017 14:42:48 +0000 (09:42 -0500)
* tapset/bpf/syscalls.stpm: Add macro file for bpf to make compiling the
  python2 tapset stop complaining about @__pointer() not being defined.

tapset/bpf/syscalls.stpm [new file with mode: 0644]

diff --git a/tapset/bpf/syscalls.stpm b/tapset/bpf/syscalls.stpm
new file mode 100644 (file)
index 0000000..464ab0b
--- /dev/null
@@ -0,0 +1,8 @@
+// NB: The python tapset uses the following macro from the syscalls macros.
+
+@define __pointer(val)
+%(
+    # Since we can't really know if this is a compat task, just return
+    # the value we've got.
+    @val
+%)
This page took 0.028873 seconds and 5 git commands to generate.