lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 24 Mar 2009 10:14:30 +0200
From:	Pekka Enberg <penberg@...helsinki.fi>
To:	mingo@...e.hu
Cc:	eduard.munteanu@...ux360.ro, linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] kmemtrace: fix tracepoint declarations

From: Pekka Enberg <penberg@...helsinki.fi>

Impact: fix build

Use the new TP_PROTO and TP_ARGS to fix the build.

Cc: Eduard - Gabriel Munteanu <eduard.munteanu@...ux360.ro>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
 include/trace/kmemtrace.h |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/include/trace/kmemtrace.h b/include/trace/kmemtrace.h
index 9e28ae1..7514476 100644
--- a/include/trace/kmemtrace.h
+++ b/include/trace/kmemtrace.h
@@ -15,41 +15,41 @@
 extern void kmemtrace_init(void);
 
 DECLARE_TRACE(kmalloc,
-	      TPPROTO(unsigned long call_site,
+	      TP_PROTO(unsigned long call_site,
 		      const void *ptr,
 		      size_t bytes_req,
 		      size_t bytes_alloc,
 		      gfp_t gfp_flags),
-	      TPARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags));
+	      TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags));
 DECLARE_TRACE(kmem_cache_alloc,
-	      TPPROTO(unsigned long call_site,
+	      TP_PROTO(unsigned long call_site,
 		      const void *ptr,
 		      size_t bytes_req,
 		      size_t bytes_alloc,
 		      gfp_t gfp_flags),
-	      TPARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags));
+	      TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags));
 DECLARE_TRACE(kmalloc_node,
-	      TPPROTO(unsigned long call_site,
+	      TP_PROTO(unsigned long call_site,
 		      const void *ptr,
 		      size_t bytes_req,
 		      size_t bytes_alloc,
 		      gfp_t gfp_flags,
 		      int node),
-	      TPARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node));
+	      TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node));
 DECLARE_TRACE(kmem_cache_alloc_node,
-	      TPPROTO(unsigned long call_site,
+	      TP_PROTO(unsigned long call_site,
 		      const void *ptr,
 		      size_t bytes_req,
 		      size_t bytes_alloc,
 		      gfp_t gfp_flags,
 		      int node),
-	      TPARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node));
+	      TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node));
 DECLARE_TRACE(kfree,
-	      TPPROTO(unsigned long call_site, const void *ptr),
-	      TPARGS(call_site, ptr));
+	      TP_PROTO(unsigned long call_site, const void *ptr),
+	      TP_ARGS(call_site, ptr));
 DECLARE_TRACE(kmem_cache_free,
-	      TPPROTO(unsigned long call_site, const void *ptr),
-	      TPARGS(call_site, ptr));
+	      TP_PROTO(unsigned long call_site, const void *ptr),
+	      TP_ARGS(call_site, ptr));
 
 #endif /* __KERNEL__ */
 
-- 
1.5.4.3



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ