|
@@ -1116,6 +1116,7 @@ do { \
|
|
INIT_LIST_HEAD(&__t->list); \
|
|
INIT_LIST_HEAD(&__t->list); \
|
|
__t->type = PERF_EVSEL__CONFIG_TERM_ ## __type; \
|
|
__t->type = PERF_EVSEL__CONFIG_TERM_ ## __type; \
|
|
__t->val.__name = __val; \
|
|
__t->val.__name = __val; \
|
|
|
|
+ __t->weak = term->weak; \
|
|
list_add_tail(&__t->list, head_terms); \
|
|
list_add_tail(&__t->list, head_terms); \
|
|
} while (0)
|
|
} while (0)
|
|
|
|
|
|
@@ -2410,6 +2411,7 @@ static int new_term(struct parse_events_term **_term,
|
|
|
|
|
|
*term = *temp;
|
|
*term = *temp;
|
|
INIT_LIST_HEAD(&term->list);
|
|
INIT_LIST_HEAD(&term->list);
|
|
|
|
+ term->weak = false;
|
|
|
|
|
|
switch (term->type_val) {
|
|
switch (term->type_val) {
|
|
case PARSE_EVENTS__TERM_TYPE_NUM:
|
|
case PARSE_EVENTS__TERM_TYPE_NUM:
|