Home
last modified time | relevance | path

Searched refs:new_filter (Results 1 – 4 of 4) sorted by relevance

/tools/perf/util/
Devsel.c1288 char *new_filter = strdup(filter); in evsel__set_filter() local
1290 if (new_filter != NULL) { in evsel__set_filter()
1292 evsel->filter = new_filter; in evsel__set_filter()
1301 char *new_filter; in evsel__append_filter() local
1306 if (asprintf(&new_filter, fmt, evsel->filter, filter) > 0) { in evsel__append_filter()
1308 evsel->filter = new_filter; in evsel__append_filter()
Dauxtrace.c2586 char *new_filter; in parse_addr_filter() local
2592 new_filter = addr_filter__to_str(filt); in parse_addr_filter()
2593 if (!new_filter) { in parse_addr_filter()
2598 if (evsel__append_addr_filter(evsel, new_filter)) { in parse_addr_filter()
Dparse-events.c2407 char new_filter[64]; in add_exclude_perf_filter() local
2415 snprintf(new_filter, sizeof(new_filter), "common_pid != %d", getpid()); in add_exclude_perf_filter()
2417 if (evsel__append_tp_filter(evsel, new_filter) < 0) { in add_exclude_perf_filter()
/tools/perf/
Dbuiltin-trace.c3780 char *tok, *left = evsel->filter, *new_filter = evsel->filter; local
3837 int expansion_offset = right - new_filter;
3841 if (asprintf(&n, "%.*s%s%s", expansion_offset, new_filter, expansion, right_end) < 0) {
3843 free(new_filter);
3846 if (new_filter != evsel->filter)
3847 free(new_filter);
3849 new_filter = n;
3867 if (new_filter != evsel->filter) {
3868 pr_debug("New filter for %s: %s\n", evsel->name, new_filter);
3869 evsel__set_filter(evsel, new_filter);
[all …]