[ofa-general] [PATCH] opensm: added convenience function for the opensm log
Timothy A. Meier
meier3 at llnl.gov
Mon Mar 10 13:19:41 PDT 2008
Hi Sasha,
Oops, I forgot to attach the patch. Here it is.
Timothy A. Meier wrote:
> 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.
I guess I got a little carried away hiding things... ;^)
--
Timothy A. Meier
Computer Scientist
ICCD/High Performance Computing
925.422.3341
meier3 at llnl.gov
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-opensm-added-convenience-function-for-the-opensm-lo.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080310/2bd6bf09/attachment.ksh>
More information about the general
mailing list