utils/print-trace-sources.cc
changeset 1371 bebf690257c9
parent 1368 e75dc1a2a5fb
child 1375 4f45bec005b8
--- a/utils/print-trace-sources.cc	Mon Aug 27 20:46:10 2007 +0200
+++ b/utils/print-trace-sources.cc	Tue Aug 28 09:37:10 2007 +0200
@@ -17,7 +17,9 @@
   Ptr<CsmaCdNetDevice> csma = Create<CsmaCdNetDevice> (node);
   csma->AddQueue (Queue::CreateDefault ());
 
-  NodeList::GetTraceResolver ()->PrintAvailable ("", TraceContext (), std::cout);
+  TraceResolver::SourceCollection collection;
+  NodeList::GetTraceResolver ()->CollectSources ("", TraceContext (), &collection);
+  collection.Print (std::cout);
 
   return 0;
 }