{
unsigned long timestamp;
- timestamp = bt_ctf_get_real_timestamp(call_data);
+ timestamp = bt_ctf_get_timestamp(call_data);
if (timestamp == -1ULL)
goto error;
}
void extract_perf_counter_scope(const struct bt_ctf_event *event,
- const struct definition *scope,
+ const struct bt_definition *scope,
struct processtop *proc,
struct cputime *cpu)
{
- struct definition const * const *list = NULL;
- const struct definition *field;
+ struct bt_definition const * const *list = NULL;
+ const struct bt_definition *field;
unsigned int count;
struct perfcounter *perfcounter;
GHashTableIter iter;
void update_perf_counter(struct processtop *proc, const struct bt_ctf_event *event)
{
struct cputime *cpu;
- const struct definition *scope;
+ const struct bt_definition *scope;
cpu = get_cpu(get_cpu_id(event));
struct processtop *parent, *child;
unsigned long timestamp;
- timestamp = bt_ctf_get_real_timestamp(call_data);
+ timestamp = bt_ctf_get_timestamp(call_data);
if (timestamp == -1ULL)
goto error;
*/
int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
const char *format_str,
- void (*packet_seek)(struct stream_pos *pos,
+ void (*packet_seek)(struct bt_stream_pos *pos,
size_t offset, int whence))
{
FTS *tree;
(*tid_check)++;
}
if (*pid_check == 0) {
- if (strncmp(name, "tid", 3) == 0)
+ if (strncmp(name, "pid", 3) == 0)
(*pid_check)++;
}
if (*ppid_check == 0) {