osaf/libs/common/ais/aisa_api.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
Remove trace from the functions saAisNameBorrow() and saAisNameLend(), since
they may be used very frequently and thus fill up the trace logs.
diff --git a/osaf/libs/common/ais/aisa_api.c b/osaf/libs/common/ais/aisa_api.c
--- a/osaf/libs/common/ais/aisa_api.c
+++ b/osaf/libs/common/ais/aisa_api.c
@@ -105,14 +105,11 @@ SaConstStringT saAisNameBorrow(const SaN
void ais_name_lend(SaConstStringT value, SaNameT* name)
{
- TRACE_ENTER();
osaf_extended_name_lend(value, name);
- TRACE_LEAVE();
}
SaConstStringT ais_name_borrow(const SaNameT* name)
{
- TRACE_ENTER();
SaConstStringT value = osaf_extended_name_borrow(name);
size_t length = name->_opaque[0];
if (length != kExtendedNameMagic) {
@@ -135,6 +132,5 @@ SaConstStringT ais_name_borrow(const SaN
value[length] == '\0';
if (!valid) value = NULL;
}
- TRACE_LEAVE();
return value;
}
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel