projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reset selected_line while switching to process_details view and back
[lttngtop.git]
/
src
/
lttngtop.c
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index 521e085ebd6dbd8996072de9a20cc907aa54089a..fa412ae6313b8fb98a54c6caecdef466e6a7ab33 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-121,7
+121,7
@@
enum bt_cb_ret check_timestamp(struct bt_ctf_event *call_data, void *private_dat
{
unsigned long timestamp;
{
unsigned long timestamp;
- timestamp = bt_ctf_get_
real_
timestamp(call_data);
+ timestamp = bt_ctf_get_timestamp(call_data);
if (timestamp == -1ULL)
goto error;
if (timestamp == -1ULL)
goto error;
@@
-190,12
+190,12
@@
void update_perf_value(struct processtop *proc, struct cputime *cpu,
}
void extract_perf_counter_scope(const struct bt_ctf_event *event,
}
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 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;
unsigned int count;
struct perfcounter *perfcounter;
GHashTableIter iter;
@@
-230,7
+230,7
@@
end:
void update_perf_counter(struct processtop *proc, const struct bt_ctf_event *event)
{
struct cputime *cpu;
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));
cpu = get_cpu(get_cpu_id(event));
@@
-252,7
+252,7
@@
enum bt_cb_ret fix_process_table(struct bt_ctf_event *call_data,
struct processtop *parent, *child;
unsigned long timestamp;
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;
if (timestamp == -1ULL)
goto error;
@@
-451,7
+451,7
@@
end_iter:
*/
int bt_context_add_traces_recursive(struct bt_context *ctx, const char *path,
const char *format_str,
*/
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;
size_t offset, int whence))
{
FTS *tree;
@@
-544,7
+544,7
@@
static int check_field_requirements(const struct bt_ctf_field_decl *const * fiel
(*tid_check)++;
}
if (*pid_check == 0) {
(*tid_check)++;
}
if (*pid_check == 0) {
- if (strncmp(name, "
t
id", 3) == 0)
+ if (strncmp(name, "
p
id", 3) == 0)
(*pid_check)++;
}
if (*ppid_check == 0) {
(*pid_check)++;
}
if (*ppid_check == 0) {
This page took
0.024496 seconds
and
4
git commands to generate.