projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
lttv
/
print.c
diff --git
a/lttv/lttv/print.c
b/lttv/lttv/print.c
index e8df4ed9f12d5853a44e1a1712db231f186d7d4c..57936e648c89c1ce38e977668a472f872a802d46 100644
(file)
--- a/
lttv/lttv/print.c
+++ b/
lttv/lttv/print.c
@@
-13,8
+13,8
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
/* print.c
*/
/* print.c
@@
-353,7
+353,7
@@
int getFields(struct bt_ctf_event *ctf_event, struct bt_definition const *fields
g_string_append_printf(fieldsStr, "%lu", bt_ctf_get_int64(fields));
}
else if (isSigned == 0) {
g_string_append_printf(fieldsStr, "%lu", bt_ctf_get_int64(fields));
}
else if (isSigned == 0) {
- g_string_append_printf(fieldsStr, "%
llu"
, bt_ctf_get_uint64(fields));
+ g_string_append_printf(fieldsStr, "%
" PRIu64
, bt_ctf_get_uint64(fields));
}
break;
case CTF_TYPE_STRING:
}
break;
case CTF_TYPE_STRING:
@@
-441,7
+441,7
@@
void lttv_event_to_string(LttvEvent *event, GString *a_string,
g_string_set_size(a_string,0);
if(long_version){
g_string_set_size(a_string,0);
if(long_version){
- g_string_append_printf(a_string,
"%llu
%s: ",
+ g_string_append_printf(a_string,
"%" PRIu64 "
%s: ",
bt_ctf_get_timestamp(event->bt_event),
bt_ctf_event_name(event->bt_event));
}
bt_ctf_get_timestamp(event->bt_event),
bt_ctf_event_name(event->bt_event));
}
@@
-489,11
+489,10
@@
void lttv_event_to_string(LttEvent *e, GString *s, gboolean mandatory_fields,
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 */
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_string_append_printf(s,", %u, %u, %s, %
s, %
u, 0x%" PRIx64", %s",
+ g_string_append_printf(s,", %u, %u, %s, %u, 0x%" PRIx64", %s",
process->pid,
process->tgid,
g_quark_to_string(process->name),
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->state->t));
process->ppid,
process->current_function,
g_quark_to_string(process->state->t));
This page took
0.023047 seconds
and
4
git commands to generate.