[ofa-general] [PATCH] opensm: added convenience function for the opensm log

Timothy A. Meier meier3 at llnl.gov
Mon Mar 10 11:45:10 PDT 2008


Hi Sasha,

This patch very similar to the "accessor" patch I submitted last week, but focuses
primarily on the Log.

So, if all your method wants to do is write to the opensm log, the OPENSM_LOG() macro
should help solve the problem of "where do I get the log, or the opensm object?".

The OSM_LOG() macro can be maintained for the cases when there are multiple logs.

What do you think?  It tries to hide the opensm object.
-- 
Timothy A. Meier
Computer Scientist
ICCD/High Performance Computing
meier3 at llnl.gov



More information about the general mailing list