Home
last modified time | relevance | path

Searched full:bcc (Results 1 – 25 of 1026) sorted by relevance

12345678910>>...42

/external/bcc/snap/
Dsnapcraft.yaml18 name: bcc
19 summary: BPF Compiler Collection (BCC)
29 adopt-info: bcc
40 bcc:
71 - -usr/share/bcc/tools/doc
75 - usr/share/bcc/tools
100 after: [bcc]
105 command: bcc-wrapper argdist
107 command: bcc-wrapper bashreadline
109 command: bcc-wrapper biolatency
[all …]
DREADME.md1 # bcc snap
3 This is an unconfined snap of the BPF Compiler Collection (BCC), a toolkit for
10 Clone the bcc repo (if you haven't done so already) and create the snap:
12 git clone https://github.com/iovisor/bcc.git
23 sudo snap connect bcc:mount-observe
24 sudo snap connect bcc:system-observe
25 sudo snap connect bcc:system-trace
27 Now run a bcc tool, for example, to run opensnoop use:
29 sudo bcc.opensnoop
39 bcc snap.
/external/bcc/SPECS/
Dbcc.spec32 %global python_bcc python3-bcc
36 %global python_bcc python2-bcc
44 Name: bcc
47 Summary: BPF Compiler Collection (BCC)
51 URL: https://github.com/iovisor/bcc
52 Source0: bcc.tar.gz
76 Python bindings for BPF Compiler Collection (BCC). Control a BPF program from
86 %setup -q -n bcc
104 find %{buildroot}/usr/share/bcc/{tools,examples} -type f -exec \
109 Summary: Shared Library for BPF Compiler Collection (BCC)
[all …]
Dbcc+clang.spec5 Name: bcc
8 Summary: BPF Compiler Collection (BCC)
12 URL: https://github.com/iovisor/bcc
13 Source0: https://github.com/iovisor/bcc/archive/v%{version}.tar.gz
21 Python bindings for BPF Compiler Collection (BCC). Control a BPF program from
29 %setup -D -n bcc
60 Summary: Shared Library for BPF Compiler Collection (BCC)
63 Shared Library for BPF Compiler Collection (BCC)
66 Summary: Examples for BPF Compiler Collection (BCC)
69 Examples for BPF Compiler Collection (BCC)
[all …]
/external/bcc/src/lua/
Dsquishy1 Module "bcc.vendor.argparse" "bcc/vendor/argparse.lua"
2 Module "bcc.vendor.posix" "bcc/vendor/posix.lua"
3 Module "bcc.vendor.middleclass" "bcc/vendor/middleclass.lua"
4 Module "bcc.vendor.json" "bcc/vendor/json.lua"
5 Module "bcc.vendor.helpers" "bcc/vendor/helpers.lua"
7 Module "bcc.init" "bcc/init.lua"
8 Module "bcc.run" "bcc/run.lua"
9 Module "bcc.bpf" "bcc/bpf.lua"
10 Module "bcc.sym" "bcc/sym.lua"
11 Module "bcc.libbcc" "bcc/libbcc.lua"
[all …]
DCMakeLists.txt6 ${CMAKE_CURRENT_SOURCE_DIR}/bcc/*.lua
7 ${CMAKE_CURRENT_SOURCE_DIR}/bcc/vendor/*.lua
11 OUTPUT bcc.lua
17 OUTPUT bcc.o
18 COMMAND ${LUAJIT} -bg bcc.lua bcc.o
19 DEPENDS bcc.lua
23 add_executable(bcc-lua src/main.c bcc.o)
24 set_target_properties(bcc-lua PROPERTIES LINKER_LANGUAGE C)
25 target_link_libraries(bcc-lua ${LUAJIT_LIBRARIES})
26 target_link_libraries(bcc-lua ${bcc-lua-static})
[all …]
DREADME.md1 Lua Tools for BCC
4 This directory contains Lua tooling for [BCC][bcc]
7 BCC is a toolkit for creating userspace and kernel tracing programs. By
14 Since LuaJIT is a JIT compiled language, tracers implemented in `bcc-lua`
32 $ git clone https://github.com/iovisor/bcc.git
33 $ cd bcc/
36 2. As per the [Ubuntu - Binary](https://github.com/iovisor/bcc/blob/master/INSTALL.md#ubuntu---bina…
42 $ sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
54 $ sudo src/lua/bcc-probe examples/lua/task_switch.lua
155 [bcc]: https://github.com/iovisor/bcc
[all …]
/external/bcc/
DINSTALL.md1 # Installing BCC
52 There are a few optional kernel flags needed for running bcc networking examples on vanilla kernel:
69 `bcc` and its tools are available in the standard Debian main repository, from the source package […
73 Versions of bcc are available in the standard Ubuntu
75 packages use `bcc` in the name (e.g. `bcc-tools`), Ubuntu packages use `bpfcc` (e.g.
78 Currently, BCC packages for both the Ubuntu Universe, and the iovisor builds are outdated. This is …
80 - [iovisor - BCC GitHub Issues](https://github.com/iovisor/bcc/issues/2678)
81 …from source](#ubuntu---source) is currently the only way to get up to date packaged version of bcc.
110 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
112 …ial` with `artful` or `bionic` as appropriate). Tools will be installed under /usr/share/bcc/tools.
[all …]
DLINKS.md3 - 2019-11-12: [bcc-tools brings dynamic kernel tracing to Red Hat Enterprise Linux 8.1](https://www…
5 - 2018-02-22: [Some advanced BCC topics](https://lwn.net/Articles/747640)
6 - 2018-01-23: [BPFd: Running BCC tools remotely across systems and architectures](https://lwn.net/A…
12 - 2017-03-04: [Linux 4.x Tracing: Performance Analysis with bcc/BPF](https://www.slideshare.net/bre…
15 - 2017-01-31: [Golang bcc/BPF Function Tracing](http://www.brendangregg.com/blog/2017-01-31/golang-
19 - 2016-11-30: [Linux bcc/BPF tcplife: TCP Lifespans](http://www.brendangregg.com/blog/2016-11-30/li…
22 - 2016-10-15: [Linux bcc tcptop](http://www.brendangregg.com/blog/2016-10-15/linux-bcc-tcptop.html)
23 - 2016-10-12: [Linux bcc/BPF Node.js USDT Tracing](http://www.brendangregg.com/blog/2016-10-12/linu…
24 - 2016-10-08: [Linux bcc/BPF Run Queue (Scheduler) Latency](http://www.brendangregg.com/blog/2016-1…
25 - 2016-10-06: [Linux bcc ext4 Latency Tracing](http://www.brendangregg.com/blog/2016-10-06/linux-bc…
[all …]
DFAQ.txt14 ImportError: No module named bcc
17 export PYTHONPATH=$(dirname `find /usr/lib -name bcc`):$PYTHONPATH
31 Also see https://github.com/iovisor/bcc/issues/2525
58 Q: Running one of the bcc tools produces an import error:
61 from bcc import BPF
62 ImportError: No module named bcc
63 A: Make sure the python bcc bindings package (python2-bcc) is installed.
DQUICKSTART.md3 A Docker container is provided for user to try out [bcc](https://github.com/iovisor/bcc).
12 --workdir /usr/share/bcc/tools \
13 zlim/bcc
16 Now, from the container shell, you can try the various pre-installed bcc tools.
20 If you wish to install bcc on your host, please refer to [INSTALL.md](INSTALL.md).
/external/bcc/.github/workflows/
Dbcc-test.yml1 name: BCC Build and tests
36 -t bcc-docker -f docker/Dockerfile.tests .
37 - name: Run bcc build
43 -v $(pwd):/bcc \
48 bcc-docker \
50 'mkdir -p /bcc/build && cd /bcc/build && \
52 - name: Run bcc's cc tests
62 -v $(pwd):/bcc \
67 bcc-docker \
69 '/bcc/build/tests/wrapper.sh \
[all …]
/external/open-dice/include/dice/android/
Dbcc.h30 // Contains the input values used to construct the BCC configuration
34 // inputs: A bitfield selecting which BCC inputs to include.
43 // Formats a configuration descriptor following the BCC's specification.
48 // Executes the main BCC flow.
51 // appended to an existing boot certificate chain (BCC). However, when using
52 // the BCC handover format, use BccHandoverMainFlow instead.
54 // Given a full set of input values along with the current BCC and CDI values,
55 // computes the next CDI values and matching updated BCC.
59 const uint8_t* bcc, size_t bcc_size,
65 // Executes the main BCC handover flow.
[all …]
/external/bcc/debian/
Dchangelog1 bcc (0.24.0-1) unstable; urgency=low
4 * bcc tools: update for trace.py, sslsniff.py, tcptop.py, hardirqs.py, etc.
15 bcc (0.23.0-1) unstable; urgency=low
18 * bcc tools: update for kvmexit.py, tcpv4connect.py, cachetop.py, cachestat.py, etc.
27 bcc (0.22.0-1) unstable; urgency=low
33 * new options for bcc tools runqslower, argdist
39 bcc (0.21.0-1) unstable; urgency=low
54 bcc (0.20.0-1) unstable; urgency=low
68 bcc (0.19.0-1) unstable; urgency=low
71 * allow BCC as a cmake subproject
[all …]
Dcontrol1 Source: bcc
16 Homepage: https://github.com/iovisor/bcc
24 Description: Shared Library for BPF Compiler Collection (BCC)
31 Description: Examples for BPF Compiler Collection (BCC)
33 Package: python-bcc
38 Description: Python wrappers for BPF Compiler Collection (BCC)
40 Package: python3-bcc
45 Description: Python3 wrappers for BPF Compiler Collection (BCC)
47 Package: bcc-tools
51 Depends: python-bcc (= ${binary:Version})
[all …]
/external/bcc/src/cc/
DCMakeLists.txt85 add_library(bcc-shared SHARED
88 set_target_properties(bcc-shared PROPERTIES VERSION ${REVISION_LAST} SOVERSION 0)
89 set_target_properties(bcc-shared PROPERTIES OUTPUT_NAME bcc)
97 add_library(bcc-loader-static STATIC ${bcc_sym_sources} ${bcc_util_sources})
98 target_link_libraries(bcc-loader-static elf z)
99 add_library(bcc-static STATIC
101 set_target_properties(bcc-static PROPERTIES OUTPUT_NAME bcc)
102 set(bcc-lua-static
164 target_link_libraries(bcc-shared ${bcc_common_libs_for_s})
165 target_link_libraries(bcc-static ${bcc_common_libs_for_a} bcc-loader-static)
[all …]
/external/bcc/docs/
Dreference_guide.md1 # bcc Reference Guide
5 This guide is incomplete. If something feels missing, check the bcc and kernel source. And if you c…
86 - [bcc Python](#bcc-python)
144 This section describes the C part of a bcc program.
172 …com/iovisor/bcc/blob/4afa96a71c5dbfc4c507c3355e20baa6c184a3a8/examples/tracing/tcpv4connect.py#L28…
173 …/iovisor/bcc/commit/310ab53710cfd46095c1f6b3e44f1dbc8d1a41d8#diff-8cd1822359ffee26e7469f991ce0ef00…
197 …com/iovisor/bcc/blob/4afa96a71c5dbfc4c507c3355e20baa6c184a3a8/examples/tracing/tcpv4connect.py#L38…
229 ….com/iovisor/bcc/blob/a4159da8c4ea8a05a3c6e402451f530d6e5a8b41/examples/tracing/urandomread.py#L19…
230 [search /examples](https://github.com/iovisor/bcc/search?q=TRACEPOINT_PROBE+path%3Aexamples&type=Co…
231 [search /tools](https://github.com/iovisor/bcc/search?q=TRACEPOINT_PROBE+path%3Atools&type=Code)
[all …]
/external/open-dice/src/android/
Dbcc.c15 #include "dice/android/bcc.h"
70 const uint8_t* bcc, size_t bcc_size, in BccMainFlow() argument
80 // The BCC has a more detailed internal structure, but those details aren't in BccMainFlow()
83 // Bcc = [ in BccMainFlow()
85 // + COSE_Sign1, ; Bcc entries in BccMainFlow()
87 CborInInit(bcc, bcc_size, &in); in BccMainFlow()
98 // Measure the existing BCC entries. in BccMainFlow()
108 // Copy to the new buffer, with space in the BCC for one more entry. in BccMainFlow()
116 memcpy(buffer + CborOutSize(&out), bcc + bcc_items_offset, bcc_items_size); in BccMainFlow()
155 // Consruct the BCC from the attestation public key and the next CDI in BccMainFlowWithNewBcc()
[all …]
Dbcc_test.cc15 #include "dice/android/bcc.h"
56 const uint8_t bcc[] = { in TEST() local
57 // Fake BCC with the root public key and two entries. in TEST()
62 // Fake BCC entry. in TEST()
64 // Fake BCC entry. in TEST()
66 // 8-bytes of trailing data that aren't part of the BCC. in TEST()
76 BccMainFlow(/*context=*/NULL, fake_cdi_attest, fake_cdi_seal, bcc, in TEST()
77 sizeof(bcc), &input_values, sizeof(next_bcc), next_bcc, in TEST()
80 EXPECT_GT(next_bcc_size, sizeof(bcc)); in TEST()
82 EXPECT_NE(0, memcmp(next_bcc + 1, bcc + 1, sizeof(bcc) - 1)); in TEST()
[all …]
/external/bcc/scripts/
Dbuild-rpm.sh33 git archive HEAD --prefix=bcc/ --format=tar -o $TMP/SOURCES/bcc.tar
37 git archive HEAD --prefix=bcc/src/cc/libbpf/ --format=tar -o $TMP/SOURCES/bcc_libbpf.tar
40 # merge all archives into bcc.tar.gz
42 tar -A -f bcc.tar bcc_libbpf.tar
43 gzip bcc.tar
49 SPECS/bcc.spec > $TMP/SPECS/bcc.spec
52 rpmbuild $RPM_WITH_OPTS --define "_topdir `pwd`" -ba SPECS/bcc.spec
Dbuild-release-rpm.sh22 git archive HEAD --prefix=bcc/ --format=tar -o $TMP/SOURCES/bcc.tar
26 git archive HEAD --prefix=bcc/src/cc/libbpf/ --format=tar -o $TMP/SOURCES/bcc_libbpf.tar
31 tar -A -f bcc.tar bcc_libbpf.tar
32 gzip -c bcc.tar > $git_tag_latest.tar.gz
40 SPECS/bcc+clang.spec > $TMP/SPECS/bcc.spec
43 rpmbuild --define "_topdir `pwd`" -ba SPECS/bcc.spec
/external/pdfium/testing/resources/javascript/
Ddocument_methods_expected.txt116 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
118 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=Lottery Winner, b…
119 Alert: PASS: this.mailDoc(false, "user@example.com", "cc@example.com", "bcc@example.com", "Lottery …
120 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
122 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=LotteryWinner, bo…
123 …"bUI": false, "cTo": "user@example.com", "cCc": "cc@example.com", "cBcc": "bcc@example.com", "cSub…
125 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
127 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=Lottery Winner, b…
128 Alert: PASS: this.mailForm(false, "user@example.com", "cc@example.com", "bcc@example.com", "Lottery…
129 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
[all …]
Dapp_methods_expected.txt41 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
43 Mail Msg: 0, to=user@example.com, cc=, bcc=, subject=, body=
45 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=subject, body=body
46 Alert: PASS: app.mailMsg(false, 'user@example.com', 'cc@example.com', 'bcc@example.com', 'subject',…
47 Mail Msg: 1, to=, cc=, bcc=, subject=, body=
49 Mail Msg: 0, to=user@example.com, cc=, bcc=, subject=, body=
51 Mail Msg: 0, to=user@example.com, cc=cc@example.com, bcc=bcc@example.com, subject=subject, body=body
52 …'bUI': false, 'cTo': 'user@example.com', 'cCc': 'cc@example.com', 'cBcc': 'bcc@example.com', 'cSub…
/external/bcc/cmake/
Dbump_version.cmake7 configure_file(SPECS/bcc.el6.spec.in SPECS/bcc.el6.spec @ONLY)
8 configure_file(SPECS/bcc.el7.spec.in SPECS/bcc.el7.spec @ONLY)
9 configure_file(SPECS/bcc.f22.spec.in SPECS/bcc.f22.spec @ONLY)
/external/bcc/tests/lua/
Dtest_standalone.sh13 if [[ ! -x bcc-lua ]]; then
14 echo "bcc-lua not built --- skipping"
18 LIBRARY=$(ldd bcc-lua | grep luajit)
20 fail "bcc-lua depends on libluajit"
28 if ! sudo ./bcc-lua "$PROBE" -d 1 >/dev/null 2>/dev/null; then
29 fail "bcc-lua cannot run complex probes"

12345678910>>...42