[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros

2017-01-24 Thread Hans Nordebäck
changeset:   8532:fc651572a5c9
parent:  8529:276b32344fd8
user:Hans Nordeback 
date:Tue Jan 24 08:55:43 2017 +0100
summary: base: fix OpenSAF 32-bit build error [#2262]



---

** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck
**Last Updated:** Mon Jan 23, 2017 04:00 PM UTC
**Owner:** Hans Nordebäck


Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is 
introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor 
will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs 
without a matching TRACE_ENTER are handled at compile time. To identify all 
missing TRACE_LEAVE zeroes are written as line number:

Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> 
susi_success: 1
  :
Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << 
susi_success

The trace2dot tool and e.g. dotty can be used to get a call graph.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros

2017-01-23 Thread Zoran Milinkovic
changeset:   8528:4ad8ec96077f
tag: tip
user:Zoran Milinkovic 
date:Mon Jan 23 16:15:43 2017 +0100
summary: base: fix OpenSAF build [#2262]



---

** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck
**Last Updated:** Mon Jan 23, 2017 12:02 PM UTC
**Owner:** Hans Nordebäck


Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is 
introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor 
will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs 
without a matching TRACE_ENTER are handled at compile time. To identify all 
missing TRACE_LEAVE zeroes are written as line number:

Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> 
susi_success: 1
  :
Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << 
susi_success

The trace2dot tool and e.g. dotty can be used to get a call graph.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros

2017-01-23 Thread Hans Nordebäck
- **status**: review --> fixed
- **Comment**:

changeset:   8527:7111d57a1590
tag: tip
parent:  8524:2605957a234b
user:Hans Nordeback 
date:Mon Jan 23 08:23:26 2017 +0100
files:   src/amf/amfd/ckpt_dec.cc src/amf/amfd/clm.cc src/amf/amfd/csi.cc 
src/amf/amfd/node.cc src/amf/amfd/nodegroup.cc src/amf/amfd/si_dep.cc 
src/amf/amfnd/pgdb.cc src/amf/amfnd/su.cc src/base/logtrace.c 
src/base/logtrace.h src/imm/agent/imma_init.cc src/imm/agent/imma_om_api.cc 
src/imm/immnd/ImmModel.cc src/imm/immpbed/immpbe_daemon.cc 
src/log/logd/lgs_imm_gcfg.cc src/log/logd/lgs_main.cc src/log/logd/lgs_mbcsv.cc 
src/ntf/ntfd/NtfClient.cc src/smf/smfd/SmfCampaignXmlParser.cc 
src/smf/smfd/SmfUpgradeStep.cc
description:
base: Improve TRACE_ENTER, TRACE_LEAVE macros [#2262]




---

** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros**

**Status:** fixed
**Milestone:** 5.2.FC
**Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck
**Last Updated:** Fri Jan 13, 2017 09:51 AM UTC
**Owner:** Hans Nordebäck


Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is 
introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor 
will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs 
without a matching TRACE_ENTER are handled at compile time. To identify all 
missing TRACE_LEAVE zeroes are written as line number:

Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> 
susi_success: 1
  :
Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << 
susi_success

The trace2dot tool and e.g. dotty can be used to get a call graph.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros

2017-01-13 Thread Hans Nordebäck
- Description has changed:

Diff:



--- old
+++ new
@@ -4,4 +4,4 @@
   :
 Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << 
susi_success
 
-The trace2dot tool and e.g. dotty can be used to get a graphical view of the 
call graph.
+The trace2dot tool and e.g. dotty can be used to get a call graph.






---

** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros**

**Status:** review
**Milestone:** 5.2.FC
**Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck
**Last Updated:** Fri Jan 13, 2017 09:35 AM UTC
**Owner:** Hans Nordebäck


Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is 
introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor 
will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs 
without a matching TRACE_ENTER are handled at compile time. To identify all 
missing TRACE_LEAVE zeroes are written as line number:

Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> 
susi_success: 1
  :
Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << 
susi_success

The trace2dot tool and e.g. dotty can be used to get a call graph.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #2262 base: Improve TRACE_ENTER, TRACE_LEAVE macros

2017-01-13 Thread Hans Nordebäck



---

** [tickets:#2262] base: Improve TRACE_ENTER, TRACE_LEAVE macros**

**Status:** review
**Milestone:** 5.2.FC
**Created:** Fri Jan 13, 2017 09:35 AM UTC by Hans Nordebäck
**Last Updated:** Fri Jan 13, 2017 09:35 AM UTC
**Owner:** Hans Nordebäck


Improve TRACE_ENTER, TRACE_LEAVE macros for C++ functions. A new class Trace is 
introduced to make TRACE_ENTER/TRACE_LEAVE consistent. The Trace destructor 
will handle all missing TRACE_LEAVE at runtime (RAII idiom). TRACE_LEAVEs 
without a matching TRACE_ENTER are handled at compile time. To identify all 
missing TRACE_LEAVE zeroes are written as line number:

Jan 13 10:03:48.925438 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:0325] >> 
susi_success: 1
  :
Jan 13 10:03:48.929056 osafamfd [491:src/amf/amfd/sg_nored_fsm.cc:] << 
susi_success

The trace2dot tool and e.g. dotty can be used to get a graphical view of the 
call graph.


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets