perf tools: Add util function for overriding user set config values
[linux-2.6-microblaze.git] / tools / perf / util / evsel.h
index 1e5d640..35805dc 100644 (file)
@@ -530,4 +530,7 @@ bool arch_evsel__must_be_in_group(const struct evsel *evsel);
        ((((src) >> (pos)) & ((1ull << (size)) - 1)) << (63 - ((pos) + (size) - 1)))
 
 u64 evsel__bitfield_swap_branch_flags(u64 value);
+void evsel__set_config_if_unset(struct perf_pmu *pmu, struct evsel *evsel,
+                               const char *config_name, u64 val);
+
 #endif /* __PERF_EVSEL_H */