Handle user PMC input
Change-Id: I9146453ca0390aa0df22ee4ed9ca3fb4c7b06dbf
[ROCm/rocprofiler commit: c630d83f22]
This commit is contained in:
committed by
Gopesh Bhardwaj
parent
dda0379742
commit
2d52ff6022
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user