Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: lars.persson@axis.com (Lars Persson)
Subject: [lttng-dev] [PATCH lttng-modules v2 1/3] Do not override the pipe syscall on MIPS.
Date: Wed, 29 Jul 2015 11:58:53 +0200	[thread overview]
Message-ID: <1438163935-8906-2-git-send-email-larper@axis.com> (raw)
In-Reply-To: <1438163935-8906-1-git-send-email-larper@axis.com>

MIPS has a non-standard calling convention for pipe.
---
 instrumentation/syscalls/headers/syscalls_pointers_override.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/instrumentation/syscalls/headers/syscalls_pointers_override.h b/instrumentation/syscalls/headers/syscalls_pointers_override.h
index a552908..85cb2e8 100644
--- a/instrumentation/syscalls/headers/syscalls_pointers_override.h
+++ b/instrumentation/syscalls/headers/syscalls_pointers_override.h
@@ -41,6 +41,7 @@ SC_LTTNG_TRACEPOINT_EVENT(getcpu,
 	)
 )
 
+#ifndef CONFIG_CPU_MIPS32
 #define OVERRIDE_32_pipe
 #define OVERRIDE_64_pipe
 SC_LTTNG_TRACEPOINT_EVENT(pipe,
@@ -50,6 +51,7 @@ SC_LTTNG_TRACEPOINT_EVENT(pipe,
 		sc_out(ctf_user_array(int, fildes, fildes, 2))
 	)
 )
+#endif
 
 #define OVERRIDE_32_pipe2
 #define OVERRIDE_64_pipe2
-- 
2.1.4




  reply	other threads:[~2015-07-29  9:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29  9:58 [lttng-dev] [PATCH lttng-modules v2 0/3] MIPS syscall instrumentation updates Lars Persson
2015-07-29  9:58 ` Lars Persson [this message]
2015-07-29  9:58 ` [lttng-dev] [PATCH lttng-modules v2 2/3] Update the MIPS32 syscall instrumentation to 3.18 Lars Persson
2015-07-29  9:58 ` [lttng-dev] [PATCH lttng-modules v2 3/3] Use 3.18 syscall instrumentation for MIPS32 Lars Persson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1438163935-8906-2-git-send-email-larper@axis.com \
    --to=lars.persson@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox