projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exec fix
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
print.c
diff --git
a/ltt/branches/poly/lttv/lttv/print.c
b/ltt/branches/poly/lttv/lttv/print.c
index 953326ab39004090ec2ecda609d03cbaf15cc5ad..ef11b21c5ac2674fb492cb72de33e9dfcf8d651c 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/print.c
+++ b/
ltt/branches/poly/lttv/lttv/print.c
@@
-236,21
+236,24
@@
void lttv_event_to_string(LttEvent *e, GString *s,
guint i, num_fields;
guint i, num_fields;
- g_string_set_size(s,0);
+
s =
g_string_set_size(s,0);
facility = ltt_event_facility(e);
event_type = ltt_event_eventtype(e);
if(mandatory_fields) {
time = ltt_event_time(e);
facility = ltt_event_facility(e);
event_type = ltt_event_eventtype(e);
if(mandatory_fields) {
time = ltt_event_time(e);
- g_string_append_printf(s,"%s.%s: %ld.%09ld (%s_%u)",
+ g_string_append_printf(s,"%s.%s: %ld.%09ld (%s
%s
_%u)",
g_quark_to_string(ltt_facility_name(facility)),
g_quark_to_string(ltt_eventtype_name(event_type)),
(long)time.tv_sec, time.tv_nsec,
g_quark_to_string(ltt_facility_name(facility)),
g_quark_to_string(ltt_eventtype_name(event_type)),
(long)time.tv_sec, time.tv_nsec,
+ g_quark_to_string(
+ ltt_trace_name(ltt_tracefile_get_trace(tfs->parent.tf))),
g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
cpu);
/* Print the process id and the state/interrupt type of the process */
g_quark_to_string(ltt_tracefile_name(tfs->parent.tf)),
cpu);
/* Print the process id and the state/interrupt type of the process */
- g_string_append_printf(s,", %u, %s, %s, %u, 0x%llX, %s", process->pid,
+ g_string_append_printf(s,", %u, %u, %s, %s, %u, 0x%llX, %s", process->pid,
+ process->tgid,
g_quark_to_string(process->name),
g_quark_to_string(process->brand),
process->ppid, process->current_function,
g_quark_to_string(process->name),
g_quark_to_string(process->brand),
process->ppid, process->current_function,
This page took
0.022844 seconds
and
4
git commands to generate.