Skip to content

Commit 20db155

Browse files
authored
Fix MPI tracing (LLNL#435)
1 parent 016c69b commit 20db155

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mpi/services/mpiwrap/MpiTracing.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ struct MpiTracing::MpiTracingImpl
104104

105105
{ nullptr, CALI_TYPE_INV, 0, nullptr }
106106
};
107+
108+
for (const struct attr_info_t* a = attr_info_tbl; a && a->name; a++)
109+
*(a->ptr) = c->create_attribute(a->name, a->type, a->prop);
107110
}
108111

109112
void init_mpi(Caliper* c, Channel* chn) {

0 commit comments

Comments
 (0)