Home
last modified time | relevance | path

Searched refs:libbcc (Results 1 – 25 of 26) sorted by relevance

12

/external/bcc/src/lua/bcc/
Dbpf.lua17 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)
130 self.module = libbcc.bpf_module_create_b(src, hdr, llvm_debug)
132 self.module = libbcc.bpf_module_create_c(src, llvm_debug, cflags_ary, #cflags)
147 local fn_count = tonumber(libbcc.bpf_num_functions(self.module))
150 local name = ffi.string(libbcc.bpf_function_name(self.module, i))
[all …]
Dtable.lua17 local libbcc = require("bcc.libbcc")
35 assert(t_type == libbcc.bpf_table_type_id(bpf.module, map_id))
50 local res = libbcc.bpf_table_key_snprintf(
62 local res = libbcc.bpf_table_leaf_snprintf(
71 local res = libbcc.bpf_table_key_sscanf(
79 local res = libbcc.bpf_table_leaf_sscanf(
89 if libbcc.bpf_lookup_elem(self.map_fd, pkey, pvalue) < 0 then
99 assert(libbcc.bpf_update_elem(self.map_fd, pkey, pvalue, 0) == 0, "could not update table")
108 if libbcc.bpf_lookup_elem(self.map_fd, pkey, pvalue) < 0 then
122 if libbcc.bpf_get_next_key(self.map_fd, pkey, pkey_next) < 0 then
[all …]
Dsym.lua17 local libbcc = require("bcc.libbcc")
22 _CACHE = libbcc.bcc_symcache_new(pid or -1, nil),
25 if libbcc.bcc_symcache_resolve(self._CACHE, addr, sym) < 0 then
29 libbcc.bcc_symbol_free_demangle_name(sym);
38 if libbcc.bcc_resolve_symname(module, symname, addr or 0x0, pid or 0, nil, sym) < 0 then
43 libbcc.bcc_procutils_free(sym[0].module)
49 libbcc.bcc_procutils_free(sym[0].module)
Dusdt.lua17 local libbcc = require("bcc.libbcc")
33 self.context = libbcc.bcc_usdt_new_frompid(args.pid)
36 self.context = libbcc.bcc_usdt_new_frompath(args.path)
45 assert(libbcc.bcc_usdt_enable_probe(
50 libbcc.bcc_usdt_close(self.context)
55 local argc = libbcc.bcc_usdt_genargs(self.context)
68 libbcc.bcc_usdt_foreach_uprobe(self.context, cb)
/external/bcc/SPECS/
Dbcc.spec92 %package -n libbcc
95 %description -n libbcc
100 Requires: libbcc = %{version}-%{release}
108 Requires: libbcc = %{version}-%{release}
117 Requires: libbcc = %{version}-%{release}
122 %package -n libbcc-examples
128 %description -n libbcc-examples
137 %files -n libbcc
154 %files -n libbcc-examples
168 %post -n libbcc -p /sbin/ldconfig
[all …]
Dbcc+clang.spec58 %package -n libbcc
61 %description -n libbcc
64 %package -n libbcc-examples
66 Requires: libbcc
67 %description -n libbcc-examples
72 Requires: libbcc
85 %files -n libbcc
89 %files -n libbcc-examples
/external/bcc/debian/
Dcontrol17 Package: libbcc
24 Package: libbcc-examples
26 Depends: libbcc (= ${binary:Version})
31 Depends: libbcc (= ${binary:Version}), python, binutils
36 Depends: libbcc (= ${binary:Version}), python3, binutils
46 Depends: libbcc (= ${binary:Version})
Dlibbcc.install2 usr/lib/*/libbcc*
3 usr/lib/*/pkgconfig/libbcc.pc
/external/bcc/src/lua/
Dsquishy11 Module "bcc.libbcc" "bcc/libbcc.lua"
DREADME.md8 default, it comes with a library `libbcc`, some example tooling and a Python
11 Here we present an alternate frontend for `libbcc` implemented in LuaJIT. This
41 2. Install the `libbcc` binary packages and `luajit`
47 sudo apt-get install libbcc luajit
50 3. Test one of the examples to ensure `libbcc` is properly installed
/external/bcc/src/cc/
DCMakeLists.txt15 configure_file(libbcc.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libbcc.pc @ONLY)
109 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libbcc.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
Dlibbcc.pc.in9 Name: libbcc pkg
Dbcc_elf.c857 char *libbcc = strstr(line, "libbcc.so"); in bcc_free_memory() local
858 if (!libbcc) in bcc_free_memory()
/external/bcc/src/cc/api/
DCMakeLists.txt3 install(FILES BPF.h BPFTable.h COMPONENT libbcc DESTINATION include/bcc)
/external/bcc/
DFAQ.txt8 OSError: libbcc.so: cannot open shared object file: No such file or directory
10 where libbcc.so was installed into your LD_LIBRARY_PATH
DINSTALL.md63 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
72 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
/external/bcc/tests/lua/
Dtest_standalone.sh32 rm -f libbcc.so probe.lua
/external/compiler-rt/
DREADME.android37 yet). Look at frameworks/compile/libbcc/runtime for potential starting points.
39 TODO: Switch libbcc to use this version of compiler-rt instead of its own
/external/bcc/tests/cc/
Dtest_c_api.cc219 void *libbcc = dlopen("libbcc.so", RTLD_LAZY | RTLD_NOLOAD); variable
220 REQUIRE(libbcc);
222 void *libbcc_fptr = dlsym(libbcc, "bcc_resolve_symname");
/external/clang/
DRenderScriptPrebuilts.md53 frameworks/compile/slang, and/or frameworks/compile/libbcc. This may entail
107 * **frameworks/compile/libbcc**
/external/bcc/src/python/bcc/
Dutils.py19 from .libbcc import lib
Dusdt.py17 from .libbcc import lib, _USDT_CB, _USDT_PROBE_CB, \
Dtable.py22 from .libbcc import lib, _RAW_CB_TYPE, _LOST_CB_TYPE
/external/google-breakpad/src/processor/testdata/
Dmicrodump-x86.dmp104 … F/google-breakpad(23467): M F5735000 00000000 0006B000 C55576D7E6926857E160CC48CB8225CB0 libbcc.so
Dmicrodump-multiple.dmp104 … F/google-breakpad(16162): M F589F000 00000000 0005B000 99E203411790EE639624229BDF048A060 libbcc.so

12