Skip to content

Commit 01024eb

Browse files
committed
Eliminate SampleProfilerEventInstance
1 parent 8009ba2 commit 01024eb

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

src/vm/eventpipeeventinstance.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,4 @@ bool EventPipeEventInstance::EnsureConsistency()
157157
}
158158
#endif // _DEBUG
159159

160-
SampleProfilerEventInstance::SampleProfilerEventInstance(EventPipeSession &session, EventPipeEvent &event, Thread *pThread, BYTE *pData, unsigned int length)
161-
:EventPipeEventInstance(session, event, pThread->GetOSThreadId(), pData, length, NULL /* pActivityId */, NULL /* pRelatedActivityId */)
162-
{
163-
LIMITED_METHOD_CONTRACT;
164-
}
165-
166160
#endif // FEATURE_PERFTRACING

src/vm/eventpipeeventinstance.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,6 @@ class EventPipeEventInstance
140140
void SetTimeStamp(LARGE_INTEGER timeStamp);
141141
};
142142

143-
// A specific type of event instance for use by the SampleProfiler.
144-
// This is needed because the SampleProfiler knows how to walk stacks belonging
145-
// to threads other than the current thread.
146-
class SampleProfilerEventInstance : public EventPipeEventInstance
147-
{
148-
149-
public:
150-
151-
SampleProfilerEventInstance(EventPipeSession &session, EventPipeEvent &event, Thread *pThread, BYTE *pData, unsigned int length);
152-
};
153-
154143
#endif // FEATURE_PERFTRACING
155144

156145
#endif // __EVENTPIPE_EVENTINSTANCE_H__

0 commit comments

Comments
 (0)