projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add trace listing feature
[lttng-tools.git]
/
ltt-sessiond
/
trace.h
diff --git
a/ltt-sessiond/trace.h
b/ltt-sessiond/trace.h
index 36b2f2270eef69bedd70aa570027da7f61660f22..755f8dfdf89bf5a954ddcbc2b34b4b931bf5d136 100644
(file)
--- a/
ltt-sessiond/trace.h
+++ b/
ltt-sessiond/trace.h
@@
-22,15
+22,16
@@
#include "session.h"
/* LTTng trace representation */
#include "session.h"
/* LTTng trace representation */
-struct ltt_
lttng
_trace {
+struct ltt_
kernel
_trace {
struct cds_list_head list;
struct cds_list_head list;
- char
trace_
name[NAME_MAX];
+ char name[NAME_MAX];
struct cds_list_head marker_list;
};
/* UST trace representation */
struct ltt_ust_trace {
struct cds_list_head list;
struct cds_list_head marker_list;
};
/* UST trace representation */
struct ltt_ust_trace {
struct cds_list_head list;
+ char name[NAME_MAX];
int shmid;
pid_t pid;
struct cds_list_head markers;
int shmid;
pid_t pid;
struct cds_list_head markers;
@@
-43,5
+44,7
@@
struct ltt_ust_marker {
};
struct ltt_ust_trace *find_session_ust_trace_by_pid(struct ltt_session *session, pid_t pid);
};
struct ltt_ust_trace *find_session_ust_trace_by_pid(struct ltt_session *session, pid_t pid);
+int get_trace_count_per_session(struct ltt_session *session);
+void get_traces_per_session(struct ltt_session *session, struct lttng_trace *traces);
#endif /* _LTT_TRACE_H */
#endif /* _LTT_TRACE_H */
This page took
0.022929 seconds
and
4
git commands to generate.