parse-events.c (37932c188ef1b471eae29249df045c8e567772d0) | parse-events.c (962848142335e8b35d522be78f58f2011d976b17) |
---|---|
1#include <linux/hw_breakpoint.h> 2#include <linux/err.h> 3#include "util.h" 4#include "../perf.h" 5#include "evlist.h" 6#include "evsel.h" 7#include <subcmd/parse-options.h> 8#include "parse-events.h" --- 1242 unchanged lines hidden (view full) --- 1251 get_config_name(head_config), pmu->cpus, 1252 &config_terms); 1253 if (evsel) { 1254 evsel->unit = info.unit; 1255 evsel->scale = info.scale; 1256 evsel->per_pkg = info.per_pkg; 1257 evsel->snapshot = info.snapshot; 1258 evsel->metric_expr = info.metric_expr; | 1#include <linux/hw_breakpoint.h> 2#include <linux/err.h> 3#include "util.h" 4#include "../perf.h" 5#include "evlist.h" 6#include "evsel.h" 7#include <subcmd/parse-options.h> 8#include "parse-events.h" --- 1242 unchanged lines hidden (view full) --- 1251 get_config_name(head_config), pmu->cpus, 1252 &config_terms); 1253 if (evsel) { 1254 evsel->unit = info.unit; 1255 evsel->scale = info.scale; 1256 evsel->per_pkg = info.per_pkg; 1257 evsel->snapshot = info.snapshot; 1258 evsel->metric_expr = info.metric_expr; |
1259 evsel->metric_name = info.metric_name; |
|
1259 } 1260 1261 return evsel ? 0 : -ENOMEM; 1262} 1263 1264int parse_events_multi_pmu_add(struct parse_events_evlist *data, 1265 char *str, struct list_head **listp) 1266{ --- 1314 unchanged lines hidden --- | 1260 } 1261 1262 return evsel ? 0 : -ENOMEM; 1263} 1264 1265int parse_events_multi_pmu_add(struct parse_events_evlist *data, 1266 char *str, struct list_head **listp) 1267{ --- 1314 unchanged lines hidden --- |