projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add procname to lttng_ust_statedump information
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-statedump-provider.h
diff --git
a/liblttng-ust/lttng-ust-statedump-provider.h
b/liblttng-ust/lttng-ust-statedump-provider.h
index 427ba2710d7643674d082a8170485155bfd8e773..b0c43cf76f05bfd9ed077485ee5402d6b3c5f3e2 100644
(file)
--- a/
liblttng-ust/lttng-ust-statedump-provider.h
+++ b/
liblttng-ust/lttng-ust-statedump-provider.h
@@
-34,6
+34,7
@@
extern "C" {
#include <stdint.h>
#include <unistd.h>
#include <lttng/ust-events.h>
#include <stdint.h>
#include <unistd.h>
#include <lttng/ust-events.h>
+#include "compat.h"
#define LTTNG_UST_STATEDUMP_PROVIDER
#include <lttng/tracepoint.h>
#define LTTNG_UST_STATEDUMP_PROVIDER
#include <lttng/tracepoint.h>
@@
-43,19
+44,23
@@
TRACEPOINT_EVENT(lttng_ust_statedump, start,
TP_FIELDS()
)
TP_FIELDS()
)
-TRACEPOINT_EVENT(lttng_ust_statedump,
so
info,
+TRACEPOINT_EVENT(lttng_ust_statedump,
bin_
info,
TP_ARGS(
struct lttng_session *, session,
void *, baddr,
TP_ARGS(
struct lttng_session *, session,
void *, baddr,
- const char*,
so
path,
+ const char*, path,
uint64_t, memsz,
uint64_t, memsz,
- uint8_t, is_pic
+ uint8_t, is_pic,
+ uint8_t, has_build_id,
+ uint8_t, has_debug_link
),
TP_FIELDS(
ctf_integer_hex(void *, baddr, baddr)
ctf_integer(uint64_t, memsz, memsz)
),
TP_FIELDS(
ctf_integer_hex(void *, baddr, baddr)
ctf_integer(uint64_t, memsz, memsz)
- ctf_string(
sopath, so
path)
+ ctf_string(
path,
path)
ctf_integer(uint8_t, is_pic, is_pic)
ctf_integer(uint8_t, is_pic, is_pic)
+ ctf_integer(uint8_t, has_build_id, has_build_id)
+ ctf_integer(uint8_t, has_debug_link, has_debug_link)
)
)
)
)
@@
-87,6
+92,16
@@
TRACEPOINT_EVENT(lttng_ust_statedump, debug_link,
)
)
)
)
+TRACEPOINT_EVENT(lttng_ust_statedump, procname,
+ TP_ARGS(
+ struct lttng_session *, session,
+ char *, name
+ ),
+ TP_FIELDS(
+ ctf_array_text(char, procname, name, LTTNG_UST_PROCNAME_LEN)
+ )
+)
+
TRACEPOINT_EVENT(lttng_ust_statedump, end,
TP_ARGS(struct lttng_session *, session),
TP_FIELDS()
TRACEPOINT_EVENT(lttng_ust_statedump, end,
TP_ARGS(struct lttng_session *, session),
TP_FIELDS()
This page took
0.024905 seconds
and
4
git commands to generate.