Home
last modified time | relevance | path

Searched refs:filt (Results 1 – 3 of 3) sorted by relevance

/tools/perf/util/
Dauxtrace.c2099 static void addr_filter__free_str(struct addr_filter *filt) in addr_filter__free_str() argument
2101 zfree(&filt->str); in addr_filter__free_str()
2102 filt->action = NULL; in addr_filter__free_str()
2103 filt->sym_from = NULL; in addr_filter__free_str()
2104 filt->sym_to = NULL; in addr_filter__free_str()
2105 filt->filename = NULL; in addr_filter__free_str()
2110 struct addr_filter *filt = zalloc(sizeof(*filt)); in addr_filter__new() local
2112 if (filt) in addr_filter__new()
2113 INIT_LIST_HEAD(&filt->list); in addr_filter__new()
2115 return filt; in addr_filter__new()
[all …]
Dintel-pt.c948 struct addr_filter *filt; in intel_pt_match_pgd_ip() local
953 list_for_each_entry(filt, &pt->filts.head, list) { in intel_pt_match_pgd_ip()
954 if (filt->start) in intel_pt_match_pgd_ip()
957 if ((filename && !filt->filename) || in intel_pt_match_pgd_ip()
958 (!filename && filt->filename) || in intel_pt_match_pgd_ip()
959 (filename && strcmp(filename, filt->filename))) in intel_pt_match_pgd_ip()
962 if (!(offset >= filt->addr && offset < filt->addr + filt->size)) in intel_pt_match_pgd_ip()
967 filt->start ? "filter" : "stop", in intel_pt_match_pgd_ip()
968 filt->addr, filt->size); in intel_pt_match_pgd_ip()
970 if (filt->start) in intel_pt_match_pgd_ip()
/tools/perf/
Dbuiltin-timechart.c1315 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local
1317 if (!filt) in add_process_filter()
1320 filt->name = strdup(string); in add_process_filter()
1321 filt->pid = pid; in add_process_filter()
1322 filt->next = process_filter; in add_process_filter()
1324 process_filter = filt; in add_process_filter()
1329 struct process_filter *filt; in passes_filter() local
1333 filt = process_filter; in passes_filter()
1334 while (filt) { in passes_filter()
1335 if (filt->pid && p->pid == filt->pid) in passes_filter()
[all …]