projects
/
lttngtop.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix add_proc with hostname
[lttngtop.git]
/
src
/
lttngtop.c
diff --git
a/src/lttngtop.c
b/src/lttngtop.c
index 26da96786455021678a80a6fecd50448a9baa49b..51c5a98743c6aebd6821dd8c9b34974e5569f898 100644
(file)
--- a/
src/lttngtop.c
+++ b/
src/lttngtop.c
@@
-458,7
+458,7
@@
enum bt_cb_ret fix_process_table(struct bt_ctf_event *call_data,
/* find or create the current process */
child = find_process_tid(<tngtop, tid, comm);
if (!child)
/* find or create the current process */
child = find_process_tid(<tngtop, tid, comm);
if (!child)
- child = add_proc(<tngtop, tid, comm, timestamp);
+ child = add_proc(<tngtop, tid, comm, timestamp
, hostname
);
if (!child)
goto end;
update_proc(child, pid, tid, ppid, vpid, vtid, vppid, comm, hostname);
if (!child)
goto end;
update_proc(child, pid, tid, ppid, vpid, vtid, vppid, comm, hostname);
@@
-467,7
+467,7
@@
enum bt_cb_ret fix_process_table(struct bt_ctf_event *call_data,
/* find or create the parent */
parent = find_process_tid(<tngtop, pid, comm);
if (!parent) {
/* find or create the parent */
parent = find_process_tid(<tngtop, pid, comm);
if (!parent) {
- parent = add_proc(<tngtop, pid, comm, timestamp);
+ parent = add_proc(<tngtop, pid, comm, timestamp
, hostname
);
if (parent)
parent->pid = pid;
}
if (parent)
parent->pid = pid;
}
@@
-1214,7
+1214,8
@@
int setup_live_tracing()
chan.attr.subbuf_size = 32768;
chan.attr.num_subbuf = 8;
} else {
chan.attr.subbuf_size = 32768;
chan.attr.num_subbuf = 8;
} else {
- chan.attr.subbuf_size = 1048576; /* 1MB */
+ //chan.attr.subbuf_size = 1048576; /* 1MB */
+ chan.attr.subbuf_size = 2097152; /* 1MB */
chan.attr.num_subbuf = 4;
}
chan.attr.switch_timer_interval = 0;
chan.attr.num_subbuf = 4;
}
chan.attr.switch_timer_interval = 0;
This page took
0.022862 seconds
and
4
git commands to generate.