Lines Matching refs:libbcc
17 local libbcc = require("bcc.libbcc")
44 libbcc.bpf_close_perf_event_fd(fd)
48 libbcc.bpf_detach_kprobe(key)
50 libbcc.bpf_detach_uprobe(key)
61 libbcc.perf_reader_free(perf_buffer)
124 …self.module = libbcc.bpf_module_create_c_from_string(args.text, llvm_debug, cflags_ary, #cflags, t…
128 self.module = libbcc.bpf_module_create_c(src, llvm_debug, cflags_ary, #cflags, true)
142 local fn_count = tonumber(libbcc.bpf_num_functions(self.module))
145 local name = ffi.string(libbcc.bpf_function_name(self.module, i))
157 assert(libbcc.bpf_function_start(self.module, fn_name) ~= nil,
160 local fd = libbcc.bcc_prog_load(prog_type,
162 libbcc.bpf_function_start(self.module, fn_name),
163 libbcc.bpf_function_size(self.module, fn_name),
164 libbcc.bpf_module_license(self.module),
165 libbcc.bpf_module_kern_version(self.module),
177 local start = libbcc.bpf_function_start(self.module, fn_name)
180 local len = libbcc.bpf_function_size(self.module, fn_name)
193 local res = libbcc.bpf_attach_uprobe(fn.fd, retprobe, ev_name, path, addr,
213 local res = libbcc.bpf_attach_kprobe(fn.fd, retprobe, ev_name, event, offset, maxactive)
280 libbcc.perf_reader_poll(perf_buffer_count, perf_buffers, -1)
291 libbcc.perf_reader_poll(perf_buffer_count, perf_buffers, timeout or -1)