Bug 2347 - Ascii traces are hooked to the wrong traces
Ascii traces are hooked to the wrong traces
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: lr-wpan
ns-3-dev
All All
: P5 minor
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-24 15:50 UTC by Tommaso Pecorella
Modified: 2016-03-31 17:32 UTC (History)
1 user (show)

See Also:


Attachments
patch (1.54 KB, patch)
2016-03-24 15:52 UTC, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2016-03-24 15:50:40 UTC
Probably it's a refuso from an old version, but the ascii traces are hooked to non-existent traces, e.g.:

  asciiTraceHelper.HookDefaultEnqueueSinkWithoutContext<LrWpanNetDevice> (device, "MacTxEnqueue", theStream);

instead of

  asciiTraceHelper.HookDefaultEnqueueSinkWithoutContext<LrWpanMac> (device->GetMac (), "MacTxEnqueue", theStream);
Comment 1 Tommaso Pecorella 2016-03-24 15:52:14 UTC
Created attachment 2351 [details]
patch
Comment 2 Tom Henderson 2016-03-31 16:23:15 UTC
+1 to merge
Comment 3 Tommaso Pecorella 2016-03-31 17:32:54 UTC
changeset:   12072:c0943e24cccc