builtin-probe.c (544abd44c7064c8a58a6bd2073d757f6b91d98c5) | builtin-probe.c (f045b8c4b36baddcfbdd4d3d956446e688b0b3cd) |
---|---|
1/* 2 * builtin-probe.c 3 * 4 * Builtin probe command: Set up probe events by C expression 5 * 6 * Written by Masami Hiramatsu <mhiramat@redhat.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 402 unchanged lines hidden (view full) --- 411 bidlist = build_id_cache__list_all(false); 412 if (!bidlist) { 413 ret = -errno; 414 pr_debug("Failed to get buildids: %d\n", ret); 415 return ret ?: -ENOMEM; 416 } 417 418 strlist__for_each_entry(nd, bidlist) { | 1/* 2 * builtin-probe.c 3 * 4 * Builtin probe command: Set up probe events by C expression 5 * 6 * Written by Masami Hiramatsu <mhiramat@redhat.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 402 unchanged lines hidden (view full) --- 411 bidlist = build_id_cache__list_all(false); 412 if (!bidlist) { 413 ret = -errno; 414 pr_debug("Failed to get buildids: %d\n", ret); 415 return ret ?: -ENOMEM; 416 } 417 418 strlist__for_each_entry(nd, bidlist) { |
419 cache = probe_cache__new(nd->s); | 419 cache = probe_cache__new(nd->s, NULL); |
420 if (!cache) 421 continue; 422 if (probe_cache__filter_purge(cache, filter) < 0 || 423 probe_cache__commit(cache) < 0) 424 pr_warning("Failed to remove entries for %s\n", nd->s); 425 probe_cache__delete(cache); 426 } 427 return 0; --- 309 unchanged lines hidden --- | 420 if (!cache) 421 continue; 422 if (probe_cache__filter_purge(cache, filter) < 0 || 423 probe_cache__commit(cache) < 0) 424 pr_warning("Failed to remove entries for %s\n", nd->s); 425 probe_cache__delete(cache); 426 } 427 return 0; --- 309 unchanged lines hidden --- |