diff options
Diffstat (limited to 'tools/perf/util/parse-events.c')
| -rw-r--r-- | tools/perf/util/parse-events.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index a7fcd95961ef..170316795a18 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c @@ -1116,6 +1116,7 @@ do {								\  	INIT_LIST_HEAD(&__t->list);				\  	__t->type       = PERF_EVSEL__CONFIG_TERM_ ## __type;	\  	__t->val.__name = __val;				\ +	__t->weak	= term->weak;				\  	list_add_tail(&__t->list, head_terms);			\  } while (0) @@ -2410,6 +2411,7 @@ static int new_term(struct parse_events_term **_term,  	*term = *temp;  	INIT_LIST_HEAD(&term->list); +	term->weak = false;  	switch (term->type_val) {  	case PARSE_EVENTS__TERM_TYPE_NUM: | 

