Home
last modified time | relevance | path

Searched refs:libbcc (Results 1 – 25 of 29) 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, 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,
[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);
39 if libbcc.bcc_resolve_symname(module, symname, addr or 0x0, pid or 0, nil, sym) < 0 then
44 libbcc.bcc_procutils_free(sym[0].module)
51 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.spec108 %package -n libbcc
114 %description -n libbcc
119 Requires: libbcc = %{version}-%{release}
127 Requires: libbcc = %{version}-%{release}
136 Requires: libbcc = %{version}-%{release}
141 %package -n libbcc-examples
147 %description -n libbcc-examples
156 %files -n libbcc
173 %files -n libbcc-examples
187 %post -n libbcc -p /sbin/ldconfig
[all …]
Dbcc+clang.spec59 %package -n libbcc
62 %description -n libbcc
65 %package -n libbcc-examples
67 Requires: libbcc
68 %description -n libbcc-examples
73 Requires: libbcc
86 %files -n libbcc
90 %files -n libbcc-examples
/external/bcc/debian/
Dcontrol18 Package: libbcc
28 Package: libbcc-examples
30 Depends: libbcc (= ${binary:Version})
37 Depends: libbcc (= ${binary:Version}), python, binutils
44 Depends: libbcc (= ${binary:Version}), python3, binutils
58 Depends: libbcc (= ${binary:Version})
Dlibbcc.install2 usr/lib/*/libbcc*
3 usr/lib/*/pkgconfig/libbcc.pc
/external/bcc/tests/cc/
DCMakeLists.txt49 target_link_libraries(test_libbcc ${PROJECT_BINARY_DIR}/src/cc/libbcc.so dl usdt_test_lib)
51 target_compile_definitions(test_libbcc PRIVATE -DLIBBCC_NAME=\"libbcc.so\")
60 …target_link_libraries(test_libbcc_no_libbpf ${PROJECT_BINARY_DIR}/src/cc/libbcc.so dl usdt_test_li…
62 target_compile_definitions(test_libbcc_no_libbpf PRIVATE -DLIBBCC_NAME=\"libbcc.so\")
Dtest_c_api.cc237 void *libbcc = dlopen(LIBBCC_NAME, RTLD_LAZY | RTLD_NOLOAD); variable
238 REQUIRE(libbcc);
240 void *libbcc_fptr = dlsym(libbcc, "bcc_resolve_symname");
/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
42 $ sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
51 4. Test one of the examples to ensure `libbcc` is properly installed
/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
11 export LD_LIBRARY_PATH=$(dirname `find /usr -name libbcc.so`):$LD_LIBRARY_PATH
DINSTALL.md100 which declares a dependency on `libbpfcc` while the upstream `libbcc` package is installed,
101 `foo` should install without trouble as `libbcc` declares that it provides `libbpfcc`.
110 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
119 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
/external/bcc/src/cc/api/
DCMakeLists.txt3 install(FILES BPF.h BPFTable.h COMPONENT libbcc DESTINATION include/bcc)
/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/lua/
Dtest_standalone.sh32 rm -f libbcc.so probe.lua
/external/bcc/src/cc/
Dlibbcc.pc.in9 Name: libbcc name
DCMakeLists.txt27 configure_file(libbcc.pc.in libbcc.pc @ONLY)
172 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libbcc.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
Dbcc_elf.c1011 char *libbcc = strstr(line, "libbcc.so"); in bcc_free_memory() local
1012 if (!libbcc) in bcc_free_memory()
/external/clang/
DRenderScriptPrebuilts.md53 frameworks/compile/slang, and/or frameworks/compile/libbcc. This may entail
107 * **frameworks/compile/libbcc**
/external/bcc/examples/tracing/
Dstrlen_hist_ifunc.py8 from bcc.libbcc import lib, bcc_symbol, bcc_symbol_option
/external/bcc/src/python/bcc/
Dutils.py20 from .libbcc import lib
Dusdt.py18 from .libbcc import lib, _USDT_CB, _USDT_PROBE_CB, \
/external/bcc/tests/python/
Dtest_clang.py6 from bcc.libbcc import lib

12