Skip to content

Commit

Permalink
Fix compilation error due to merge
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnas committed Nov 15, 2024
1 parent a3221a4 commit eb47a43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ NetworkProvider::NetworkProvider(
_pCorProfilerInfo{ pCorProfilerInfo },
_pManagedThreadList{ pManagedThreadList },
_pConfiguration{ pConfiguration },
_callstackProvider{ std::move(callstackProvider) }
_callstackProvider{ std::move(callstackProvider) },
_metricsRegistry{metricsRegistry}
{
}

Expand All @@ -59,7 +60,7 @@ bool NetworkProvider::CaptureThreadInfo(NetworkRequestInfo& info)

// collect current call stack
uint32_t hrCollectStack = E_FAIL;
const auto pStackFramesCollector = OsSpecificApi::CreateNewStackFramesCollectorInstance(_pCorProfilerInfo, _pConfiguration, &_callstackProvider);
const auto pStackFramesCollector = OsSpecificApi::CreateNewStackFramesCollectorInstance(_pCorProfilerInfo, _pConfiguration, &_callstackProvider, _metricsRegistry);

pStackFramesCollector->PrepareForNextCollection();
const auto result = pStackFramesCollector->CollectStackSample(threadInfo.get(), &hrCollectStack);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class NetworkProvider :
IFrameStore* _pFrameStore;
IConfiguration const* const _pConfiguration;
CallstackProvider _callstackProvider;
MetricsRegistry& _metricsRegistry;

std::unordered_map<NetworkActivity, NetworkRequestInfo> _requests;
};

0 comments on commit eb47a43

Please sign in to comment.