projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: compaction instrumentation update for 3.14.x stable kernels
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
lttng-statedump.h
diff --git
a/instrumentation/events/lttng-module/lttng-statedump.h
b/instrumentation/events/lttng-module/lttng-statedump.h
index efd22d77dfb774a7711ed4a0daa6dd45149ceafa..985b71cf3cdba2fb440d0963bce9d2a6058334d3 100644
(file)
--- a/
instrumentation/events/lttng-module/lttng-statedump.h
+++ b/
instrumentation/events/lttng-module/lttng-statedump.h
@@
-1,15
+1,15
@@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM lttng_statedump
#undef TRACE_SYSTEM
#define TRACE_SYSTEM lttng_statedump
-#if !defined(_TRACE_LTTNG_STATEDUMP_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_LTTNG_STATEDUMP_H
+#if !defined(
LTTNG
_TRACE_LTTNG_STATEDUMP_H) || defined(TRACE_HEADER_MULTI_READ)
+#define
LTTNG
_TRACE_LTTNG_STATEDUMP_H
-#include
<linux/tracepoint.h>
+#include
"../../../probes/lttng-tracepoint-event.h"
#include <linux/nsproxy.h>
#include <linux/pid_namespace.h>
#include <linux/types.h>
#include <linux/nsproxy.h>
#include <linux/pid_namespace.h>
#include <linux/types.h>
-
TRACE
_EVENT(lttng_statedump_start,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_start,
TP_PROTO(struct lttng_session *session),
TP_ARGS(session),
TP_STRUCT__entry(
TP_PROTO(struct lttng_session *session),
TP_ARGS(session),
TP_STRUCT__entry(
@@
-19,7
+19,7
@@
TRACE_EVENT(lttng_statedump_start,
TP_printk("")
)
TP_printk("")
)
-
TRACE
_EVENT(lttng_statedump_end,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_end,
TP_PROTO(struct lttng_session *session),
TP_ARGS(session),
TP_STRUCT__entry(
TP_PROTO(struct lttng_session *session),
TP_ARGS(session),
TP_STRUCT__entry(
@@
-29,7
+29,7
@@
TRACE_EVENT(lttng_statedump_end,
TP_printk("")
)
TP_printk("")
)
-
TRACE
_EVENT(lttng_statedump_process_state,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_process_state,
TP_PROTO(struct lttng_session *session,
struct task_struct *p,
int type, int mode, int submode, int status,
TP_PROTO(struct lttng_session *session,
struct task_struct *p,
int type, int mode, int submode, int status,
@@
-86,24
+86,29
@@
TRACE_EVENT(lttng_statedump_process_state,
TP_printk("")
)
TP_printk("")
)
-
TRACE
_EVENT(lttng_statedump_file_descriptor,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_file_descriptor,
TP_PROTO(struct lttng_session *session,
TP_PROTO(struct lttng_session *session,
- struct task_struct *p, int fd, const char *filename),
- TP_ARGS(session, p, fd, filename),
+ struct task_struct *p, int fd, const char *filename,
+ unsigned int flags, fmode_t fmode),
+ TP_ARGS(session, p, fd, filename, flags, fmode),
TP_STRUCT__entry(
__field(pid_t, pid)
__field(int, fd)
TP_STRUCT__entry(
__field(pid_t, pid)
__field(int, fd)
+ __field_oct(unsigned int, flags)
+ __field_hex(fmode_t, fmode)
__string(filename, filename)
),
TP_fast_assign(
tp_assign(pid, p->tgid)
tp_assign(fd, fd)
__string(filename, filename)
),
TP_fast_assign(
tp_assign(pid, p->tgid)
tp_assign(fd, fd)
+ tp_assign(flags, flags)
+ tp_assign(fmode, fmode)
tp_strcpy(filename, filename)
),
TP_printk("")
)
tp_strcpy(filename, filename)
),
TP_printk("")
)
-
TRACE
_EVENT(lttng_statedump_vm_map,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_vm_map,
TP_PROTO(struct lttng_session *session,
struct task_struct *p, struct vm_area_struct *map,
unsigned long inode),
TP_PROTO(struct lttng_session *session,
struct task_struct *p, struct vm_area_struct *map,
unsigned long inode),
@@
-127,7
+132,7
@@
TRACE_EVENT(lttng_statedump_vm_map,
TP_printk("")
)
TP_printk("")
)
-
TRACE
_EVENT(lttng_statedump_network_interface,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_network_interface,
TP_PROTO(struct lttng_session *session,
struct net_device *dev, struct in_ifaddr *ifa),
TP_ARGS(session, dev, ifa),
TP_PROTO(struct lttng_session *session,
struct net_device *dev, struct in_ifaddr *ifa),
TP_ARGS(session, dev, ifa),
@@
-142,7
+147,7
@@
TRACE_EVENT(lttng_statedump_network_interface,
TP_printk("")
)
TP_printk("")
)
-
TRACE
_EVENT(lttng_statedump_block_device,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_block_device,
TP_PROTO(struct lttng_session *session,
dev_t dev, const char *diskname),
TP_ARGS(session, dev, diskname),
TP_PROTO(struct lttng_session *session,
dev_t dev, const char *diskname),
TP_ARGS(session, dev, diskname),
@@
-158,7
+163,7
@@
TRACE_EVENT(lttng_statedump_block_device,
)
/* Called with desc->lock held */
)
/* Called with desc->lock held */
-
TRACE
_EVENT(lttng_statedump_interrupt,
+
LTTNG_TRACEPOINT
_EVENT(lttng_statedump_interrupt,
TP_PROTO(struct lttng_session *session,
unsigned int irq, const char *chip_name,
struct irqaction *action),
TP_PROTO(struct lttng_session *session,
unsigned int irq, const char *chip_name,
struct irqaction *action),
@@
-176,7
+181,7
@@
TRACE_EVENT(lttng_statedump_interrupt,
TP_printk("")
)
TP_printk("")
)
-#endif /* _TRACE_LTTNG_STATEDUMP_H */
+#endif /*
LTTNG
_TRACE_LTTNG_STATEDUMP_H */
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
This page took
0.025673 seconds
and
4
git commands to generate.