projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new tracepoint in KVM
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
kmem.h
diff --git
a/instrumentation/events/lttng-module/kmem.h
b/instrumentation/events/lttng-module/kmem.h
index be2baff10d7fb01d67ec1855b87714b9f53911f3..7607fc0c71b7f78aa6d6546d499e9c66ab83365d 100644
(file)
--- a/
instrumentation/events/lttng-module/kmem.h
+++ b/
instrumentation/events/lttng-module/kmem.h
@@
-45,7
+45,9
@@
DECLARE_EVENT_CLASS(kmem_alloc,
show_gfp_flags(__entry->gfp_flags))
)
show_gfp_flags(__entry->gfp_flags))
)
-DEFINE_EVENT(kmem_alloc, kmalloc,
+DEFINE_EVENT_MAP(kmem_alloc, kmalloc,
+
+ kmem_kmalloc,
TP_PROTO(unsigned long call_site, const void *ptr,
size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags),
TP_PROTO(unsigned long call_site, const void *ptr,
size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags),
@@
-99,7
+101,9
@@
DECLARE_EVENT_CLASS(kmem_alloc_node,
__entry->node)
)
__entry->node)
)
-DEFINE_EVENT(kmem_alloc_node, kmalloc_node,
+DEFINE_EVENT_MAP(kmem_alloc_node, kmalloc_node,
+
+ kmem_kmalloc_node,
TP_PROTO(unsigned long call_site, const void *ptr,
size_t bytes_req, size_t bytes_alloc,
TP_PROTO(unsigned long call_site, const void *ptr,
size_t bytes_req, size_t bytes_alloc,
@@
-136,7
+140,9
@@
DECLARE_EVENT_CLASS(kmem_free,
TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr)
)
TP_printk("call_site=%lx ptr=%p", __entry->call_site, __entry->ptr)
)
-DEFINE_EVENT(kmem_free, kfree,
+DEFINE_EVENT_MAP(kmem_free, kfree,
+
+ kmem_kfree,
TP_PROTO(unsigned long call_site, const void *ptr),
TP_PROTO(unsigned long call_site, const void *ptr),
This page took
0.024156 seconds
and
4
git commands to generate.