Searched refs:filt (Results 1 – 3 of 3) sorted by relevance
1477 static void addr_filter__free_str(struct addr_filter *filt) in addr_filter__free_str() argument1479 zfree(&filt->str); in addr_filter__free_str()1480 filt->action = NULL; in addr_filter__free_str()1481 filt->sym_from = NULL; in addr_filter__free_str()1482 filt->sym_to = NULL; in addr_filter__free_str()1483 filt->filename = NULL; in addr_filter__free_str()1488 struct addr_filter *filt = zalloc(sizeof(*filt)); in addr_filter__new() local1490 if (filt) in addr_filter__new()1491 INIT_LIST_HEAD(&filt->list); in addr_filter__new()1493 return filt; in addr_filter__new()[all …]
647 struct addr_filter *filt; in intel_pt_match_pgd_ip() local652 list_for_each_entry(filt, &pt->filts.head, list) { in intel_pt_match_pgd_ip()653 if (filt->start) in intel_pt_match_pgd_ip()656 if ((filename && !filt->filename) || in intel_pt_match_pgd_ip()657 (!filename && filt->filename) || in intel_pt_match_pgd_ip()658 (filename && strcmp(filename, filt->filename))) in intel_pt_match_pgd_ip()661 if (!(offset >= filt->addr && offset < filt->addr + filt->size)) in intel_pt_match_pgd_ip()666 filt->start ? "filter" : "stop", in intel_pt_match_pgd_ip()667 filt->addr, filt->size); in intel_pt_match_pgd_ip()669 if (filt->start) in intel_pt_match_pgd_ip()
1306 struct process_filter *filt = malloc(sizeof(*filt)); in add_process_filter() local1308 if (!filt) in add_process_filter()1311 filt->name = strdup(string); in add_process_filter()1312 filt->pid = pid; in add_process_filter()1313 filt->next = process_filter; in add_process_filter()1315 process_filter = filt; in add_process_filter()1320 struct process_filter *filt; in passes_filter() local1324 filt = process_filter; in passes_filter()1325 while (filt) { in passes_filter()1326 if (filt->pid && p->pid == filt->pid) in passes_filter()[all …]