Handle user PMC input

Change-Id: I9146453ca0390aa0df22ee4ed9ca3fb4c7b06dbf


[ROCm/rocprofiler commit: c630d83f22]
This commit is contained in:
gobhardw
2023-06-14 16:56:27 +05:30
committed by Gopesh Bhardwaj
parent dda0379742
commit 2d52ff6022
3 changed files with 57 additions and 32 deletions
+4
View File
@@ -26,6 +26,7 @@
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <algorithm>
#include <cxxabi.h>
#include "exception.h"
@@ -69,4 +70,7 @@ bool has_counter_format(std::string const& str);
// trims the begining of the line for spaces
std::string left_trim(const std::string& s);
// validates pmc user input format
void validate_counters_format(std::vector<std::string> &counters, std::string line);
} // namespace rocprofiler