X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Flttv%2Fprint.c;h=d4e49cccfe22cb414f5f58508f7e06dd6b08d3f6;hb=dc6b246703be1051c20919746dc34eccbc8912ea;hp=47faf53cb13dcb5660e46b0858067a227dccd697;hpb=cf453ac79aa388cd0691ca9b8144859e44ef77ee;p=lttv.git diff --git a/ltt/branches/poly/lttv/lttv/print.c b/ltt/branches/poly/lttv/lttv/print.c index 47faf53c..d4e49ccc 100644 --- a/ltt/branches/poly/lttv/lttv/print.c +++ b/ltt/branches/poly/lttv/lttv/print.c @@ -55,7 +55,13 @@ static inline void print_enum_events(LttEvent *e, struct marker_field *f, f->name == LTT_FIELD_SYSCALL_ID) { g_string_append_printf(s, " [%s]", g_quark_to_string(ts->syscall_names[value])); + } else if ((info->name == g_quark_from_static_string("kernel_softirq_entry") + || info->name == g_quark_from_static_string("kernel_softirq_exit")) && + f->name == g_quark_from_static_string("softirq_id")) { + g_string_append_printf(s, " [%s]", + g_quark_to_string(ts->soft_irq_names[value])); } + } void lttv_print_field(LttEvent *e, struct marker_field *f, GString *s,