* [PATCH 1/2] kmemtrace: fix tracepoint declarations
@ 2009-03-24 8:14 Pekka Enberg
2009-03-24 8:21 ` [tip:tracing/kmemtrace] " Pekka Enberg
0 siblings, 1 reply; 3+ messages in thread
From: Pekka Enberg @ 2009-03-24 8:14 UTC (permalink / raw)
To: mingo; +Cc: eduard.munteanu, linux-kernel
From: Pekka Enberg <penberg@cs.helsinki.fi>
Impact: fix build
Use the new TP_PROTO and TP_ARGS to fix the build.
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Pekka Enberg <penberg@cs.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [tip:tracing/kmemtrace] kmemtrace: fix tracepoint declarations
2009-03-24 8:14 [PATCH 1/2] kmemtrace: fix tracepoint declarations Pekka Enberg
@ 2009-03-24 8:21 ` Pekka Enberg
2009-03-24 8:30 ` Eduard - Gabriel Munteanu
0 siblings, 1 reply; 3+ messages in thread
From: Pekka Enberg @ 2009-03-24 8:21 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, penberg, eduard.munteanu, tglx, mingo
Commit-ID: 9d47aa18654e4344b1d20b14463addee676e9ea4
Gitweb: http://git.kernel.org/tip/9d47aa18654e4344b1d20b14463addee676e9ea4
Author: Pekka Enberg <penberg@cs.helsinki.fi>
AuthorDate: Tue, 24 Mar 2009 10:14:30 +0200
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Tue, 24 Mar 2009 09:19:52 +0100
kmemtrace: fix tracepoint declarations
Impact: build fix
Use the new TP_PROTO and TP_ARGS to fix the build.
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
LKML-Reference: <1237882470.25315.30.camel@penberg-laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
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__ */
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [tip:tracing/kmemtrace] kmemtrace: fix tracepoint declarations
2009-03-24 8:21 ` [tip:tracing/kmemtrace] " Pekka Enberg
@ 2009-03-24 8:30 ` Eduard - Gabriel Munteanu
0 siblings, 0 replies; 3+ messages in thread
From: Eduard - Gabriel Munteanu @ 2009-03-24 8:30 UTC (permalink / raw)
To: mingo, hpa, linux-kernel, penberg, tglx, mingo; +Cc: linux-tip-commits
On Tue, Mar 24, 2009 at 08:21:28AM +0000, Pekka Enberg wrote:
> Commit-ID: 9d47aa18654e4344b1d20b14463addee676e9ea4
> Gitweb: http://git.kernel.org/tip/9d47aa18654e4344b1d20b14463addee676e9ea4
> Author: Pekka Enberg <penberg@cs.helsinki.fi>
> AuthorDate: Tue, 24 Mar 2009 10:14:30 +0200
> Committer: Ingo Molnar <mingo@elte.hu>
> CommitDate: Tue, 24 Mar 2009 09:19:52 +0100
>
> kmemtrace: fix tracepoint declarations
>
> Impact: build fix
>
> Use the new TP_PROTO and TP_ARGS to fix the build.
>
> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
> Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
> LKML-Reference: <1237882470.25315.30.camel@penberg-laptop>
> Signed-off-by: Ingo Molnar <mingo@elte.hu>
>
>
> ---
> 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__ */
>
Thanks, I was clueless. I thought the problem was similar to the RCU
stuff.
Eduard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-24 8:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 8:14 [PATCH 1/2] kmemtrace: fix tracepoint declarations Pekka Enberg
2009-03-24 8:21 ` [tip:tracing/kmemtrace] " Pekka Enberg
2009-03-24 8:30 ` Eduard - Gabriel Munteanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox