{"action":"created","issue":{"url":"https://api.github.com/repos/iovisor/bpftrace/issues/193","repository_url":"https://api.github.com/repos/iovisor/bpftrace","labels_url":"https://api.github.com/repos/iovisor/bpftrace/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/iovisor/bpftrace/issues/193/comments","events_url":"https://api.github.com/repos/iovisor/bpftrace/issues/193/events","html_url":"https://github.com/iovisor/bpftrace/pull/193","id":370889658,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNDYyMTAz","number":193,"title":"Add file globbing search semantics to list_probes()","user":{"login":"cneira","id":4327541,"node_id":"MDQ6VXNlcjQzMjc1NDE=","avatar_url":"https://avatars0.githubusercontent.com/u/4327541?v=4","gravatar_id":"","url":"https://api.github.com/users/cneira","html_url":"https://github.com/cneira","followers_url":"https://api.github.com/users/cneira/followers","following_url":"https://api.github.com/users/cneira/following{/other_user}","gists_url":"https://api.github.com/users/cneira/gists{/gist_id}","starred_url":"https://api.github.com/users/cneira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cneira/subscriptions","organizations_url":"https://api.github.com/users/cneira/orgs","repos_url":"https://api.github.com/users/cneira/repos","events_url":"https://api.github.com/users/cneira/events{/privacy}","received_events_url":"https://api.github.com/users/cneira/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-17T04:01:24Z","updated_at":"2018-10-17T21:09:43Z","closed_at":"2018-10-17T21:09:28Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/iovisor/bpftrace/pulls/193","html_url":"https://github.com/iovisor/bpftrace/pull/193","diff_url":"https://github.com/iovisor/bpftrace/pull/193.diff","patch_url":"https://github.com/iovisor/bpftrace/pull/193.patch"},"body":"@ajor , @brendangregg \r\n\r\nChecking https://github.com/iovisor/bpftrace/issues/20\r\n\r\nI tried to improve list_probes using file globbing semantics, here are some search results.\r\n\r\n```bash\r\ncneira@Trixie:~/bpftrace/build$ sudo bpftrace -l '*sleep*'\r\ntracepoint:block:block_sleeprq\r\ntracepoint:compaction:mm_compaction_kcompactd_sleep\r\ntracepoint:vmscan:mm_vmscan_kswapd_sleep\r\ntracepoint:sched:sched_stat_sleep\r\ntracepoint:syscalls:sys_enter_clock_nanosleep\r\ntracepoint:syscalls:sys_exit_clock_nanosleep\r\ntracepoint:syscalls:sys_enter_nanosleep\r\ntracepoint:syscalls:sys_exit_nanosleep\r\nkprobe:x86_acpi_enter_sleep_state\r\nkprobe:pmc_sleep_tmr_open\r\nkprobe:pmc_sleep_tmr_show\r\nkprobe:wq_worker_sleeping\r\n...\r\ncneira@Trixie:~/bpftrace/build$ sudo bpftrace -l 'tracepoint*'\r\ntracepoint:kvmmmu:kvm_mmu_pagetable_walk\r\ntracepoint:kvmmmu:kvm_mmu_paging_element\r\ntracepoint:kvmmmu:kvm_mmu_set_accessed_bit\r\ntracepoint:kvmmmu:kvm_mmu_set_dirty_bit\r\ntracepoint:kvmmmu:kvm_mmu_walker_error\r\ntracepoint:kvmmmu:kvm_mmu_get_page\r\ntracepoint:kvmmmu:kvm_mmu_sync_page\r\ntracepoint:kvmmmu:kvm_mmu_unsync_page\r\ntracepoint:kvmmmu:kvm_mmu_prepare_zap_page\r\ntracepoint:kvmmmu:mark_mmio_spte\r\ntracepoint:kvmmmu:handle_mmio_page_fault\r\ntracepoint:kvmmmu:fast_page_fault\r\ntracepoint:kvmmmu:kvm_mmu_invalidate_zap_all_pages\r\ntracepoint:kvmmmu:check_mmio_spte\r\ntracepoint:kvm:kvm_entry\r\ntracepoint:kvm:kvm_hypercall\r\ntracepoint:kvm:kvm_hv_hypercall\r\ntracepoint:kvm:kvm_pio\r\ntracepoint:kvm:kvm_fast_mmio\r\ntracepoint:kvm:kvm_cpuid\r\n...\r\ncneira@Trixie:~/bpftrace/build$ sudo bpftrace -l '*:syscalls:*' \r\ntracepoint:syscalls:sys_enter_socket\r\ntracepoint:syscalls:sys_exit_socket\r\ntracepoint:syscalls:sys_enter_socketpair\r\ntracepoint:syscalls:sys_exit_socketpair\r\n...\r\ncneira@Trixie:~/bpftrace/build$ sudo bpftrace -l 'tracepoint:?vm:?vm_?????call'\r\ntracepoint:kvm:kvm_hypercall\r\n```"},"comment":{"url":"https://api.github.com/repos/iovisor/bpftrace/issues/comments/430790790","html_url":"https://github.com/iovisor/bpftrace/pull/193#issuecomment-430790790","issue_url":"https://api.github.com/repos/iovisor/bpftrace/issues/193","id":430790790,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDc5MDc5MA==","user":{"login":"brendangregg","id":1101211,"node_id":"MDQ6VXNlcjExMDEyMTE=","avatar_url":"https://avatars3.githubusercontent.com/u/1101211?v=4","gravatar_id":"","url":"https://api.github.com/users/brendangregg","html_url":"https://github.com/brendangregg","followers_url":"https://api.github.com/users/brendangregg/followers","following_url":"https://api.github.com/users/brendangregg/following{/other_user}","gists_url":"https://api.github.com/users/brendangregg/gists{/gist_id}","starred_url":"https://api.github.com/users/brendangregg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendangregg/subscriptions","organizations_url":"https://api.github.com/users/brendangregg/orgs","repos_url":"https://api.github.com/users/brendangregg/repos","events_url":"https://api.github.com/users/brendangregg/events{/privacy}","received_events_url":"https://api.github.com/users/brendangregg/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T21:09:43Z","updated_at":"2018-10-17T21:09:43Z","author_association":"MEMBER","body":"Thanks @cneira !"}}
{"actor":{"display_login":"brendangregg"}}