concurrent: enable PmcStopper to end perf counting.

Change-Id: I89785277678141e29349e162df10203787050643


[ROCm/rocprofiler commit: c4828a9de0]
Šī revīzija ir iekļauta:
Evgeny
2021-04-09 08:06:42 +00:00
vecāks c701f9705c
revīzija 867ae7b2dd
5 mainīti faili ar 16 papildinājumiem un 22 dzēšanām
@@ -345,8 +345,6 @@ class Context {
// Concurrent profiling mode
static bool k_concurrent_;
// Packets to stop the profiling
static pkt_vector_t stop_packets_;
private:
Context(const util::AgentInfo* agent_info, Queue* queue, rocprofiler_feature_t* info,
@@ -648,8 +646,7 @@ class Context {
};
#define CONTEXT_INSTANTIATE() \
bool rocprofiler::Context::k_concurrent_ = false; \
std::vector<hsa_ext_amd_aql_pm4_packet_t> rocprofiler::Context::stop_packets_{};
bool rocprofiler::Context::k_concurrent_ = false;
} // namespace rocprofiler