projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tar.gz build by removing legacy include to ltt directory
[lttv.git]
/
lttv
/
lttv
/
traceset.h
diff --git
a/lttv/lttv/traceset.h
b/lttv/lttv/traceset.h
index 4b998ad27dfc56fffa0204442fe57e32d7894764..9761c9198a7064a97501ea0d17357ec174525831 100644
(file)
--- a/
lttv/lttv/traceset.h
+++ b/
lttv/lttv/traceset.h
@@
-22,9
+22,9
@@
#include <lttv/attribute.h>
#include <lttv/hook.h>
#include <lttv/event.h>
#include <lttv/attribute.h>
#include <lttv/hook.h>
#include <lttv/event.h>
-#include <ltt/ltt.h>
-#include <ltt/time.h>
+#include <lttv/time.h>
#include <lttv/trace.h>
#include <lttv/trace.h>
+
/* A traceset is a set of traces to be analyzed together. */
typedef struct _LttvTraceset LttvTraceset;
/* A traceset is a set of traces to be analyzed together. */
typedef struct _LttvTraceset LttvTraceset;
@@
-44,8
+44,12
@@
struct _LttvTraceset {
struct bt_ctf_iter *iter;
GPtrArray *state_trace_handle_index;
gboolean has_precomputed_states;
struct bt_ctf_iter *iter;
GPtrArray *state_trace_handle_index;
gboolean has_precomputed_states;
+ TimeInterval time_span;
+ char *common_path;
};
};
+#define TRACE_NAME_SIZE 100
+
struct _LttvTrace {
// Trace id for babeltrace
LttvTraceset *traceset; /* container traceset */
struct _LttvTrace {
// Trace id for babeltrace
LttvTraceset *traceset; /* container traceset */
@@
-53,6
+57,8
@@
struct _LttvTrace {
LttvAttribute *a;
guint ref_count;
LttvTraceState *state;
LttvAttribute *a;
guint ref_count;
LttvTraceState *state;
+ char short_name[TRACE_NAME_SIZE];
+ char *full_path;
};
/* In babeltrace, the position concept is an iterator. */
};
/* In babeltrace, the position concept is an iterator. */
@@
-110,6
+116,10
@@
LttvTrace *lttv_traceset_get(LttvTraceset *s, unsigned i);
void lttv_traceset_remove(LttvTraceset *s, unsigned i);
void lttv_traceset_remove(LttvTraceset *s, unsigned i);
+int lttv_traceset_get_trace_index_from_event(LttvEvent *event);
+
+int lttv_traceset_get_trace_index_from_handle_id(LttvTraceset *ts, int handle_id);
+
/* An attributes table is attached to the set and to each trace in the set. */
LttvAttribute *lttv_traceset_attribute(LttvTraceset *s);
/* An attributes table is attached to the set and to each trace in the set. */
LttvAttribute *lttv_traceset_attribute(LttvTraceset *s);
This page took
0.023062 seconds
and
4
git commands to generate.