/aosp_15_r20/external/bcc/snap/ |
H A D | snapcraft.yaml | 18 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 99 after: [bcc] 104 command: bcc-wrapper argdist 106 command: bcc-wrapper bashreadline 108 command: bcc-wrapper biolatency [all …]
|
H A D | README.md | 1 # 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.
|
/aosp_15_r20/external/bcc/ |
H A D | INSTALL.md | 1 # Installing BCC 53 There are a few optional kernel flags needed for running bcc networking examples on vanilla kernel: 70 `bcc` and its tools are available in the standard Debian main repository, from the source package [… 81 Versions of bcc are available in the standard Ubuntu 83 packages use `bcc` in the name (e.g. `bcc-tools`), Ubuntu packages use `bpfcc` (e.g. 86 Currently, BCC packages for both the Ubuntu Universe, and the iovisor builds are outdated. This is … 88 - [iovisor - BCC GitHub Issues](https://github.com/iovisor/bcc/issues/2678) 89 …from source](#ubuntu---source) is currently the only way to get up to date packaged version of bcc. 118 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r) 120 …ial` with `artful` or `bionic` as appropriate). Tools will be installed under /usr/share/bcc/tools. [all …]
|
H A D | LINKS.md | 3 - 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 …]
|
/aosp_15_r20/external/bcc/SPECS/ |
H A D | bcc.spec | 32 %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 78 Python bindings for BPF Compiler Collection (BCC). Control a BPF program from 88 %setup -q -n bcc 106 find %{buildroot}/usr/share/bcc/{tools,examples} -type f -exec \ 111 Summary: Shared Library for BPF Compiler Collection (BCC) [all …]
|
H A D | bcc+clang.spec | 5 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 …]
|
/aosp_15_r20/external/bcc/docs/ |
H A D | reference_guide.md | 1 # 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 …]
|
H A D | tutorial_bcc_python_developer.md | 1 # bcc Python Developer Tutorial 3 …bcc](https://github.com/iovisor/bcc) tools and programs using the Python interface. There are two … 5 …bcc developer's [reference_guide.md](reference_guide.md), and a tutorial for end-users of tools: [… 13 …It should print "Hello, World!" for new processes. If not, start by fixing bcc: see [INSTALL.md](.… 25 from bcc import BPF 39 …cessary formality (if you want to know why, see [#139](https://github.com/iovisor/bcc/issues/139)). 41 1. ```.trace_print()```: A bcc routine that reads trace_pipe and prints the output. 65 from bcc import BPF 66 from bcc.utils import printb 121 from bcc import BPF [all …]
|
/aosp_15_r20/external/bcc/debian/ |
H A D | changelog | 1 bcc (0.28.0-1) unstable; urgency=low 5 …* bcc tool updates: funcslower, wakeuptime, profile, offcputime, deadlock, funccount, argdist, kvm… 7 * support ringbuf_query for bcc tools. 9 * Fix maximum allowed index for print_linear_hist for bcc tools. 12 …* filter with available_filter_functions to make multi-functions kprobes more robust for both bcc … 17 bcc (0.27.0-1) unstable; urgency=low 20 …* bcc tool updates for ttysnoop, slabratetop, readahead, nfsslower, cpudist, cachetop, cachestat, … 31 bcc (0.26.0-1) unstable; urgency=low 34 …* bcc tool updates for biosnoop, opensnoop, biopattern, killsnoop, runqslower, offcputime, wakeupt… 42 bcc (0.25.0-1) unstable; urgency=low [all …]
|
H A D | control | 1 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 …]
|
/aosp_15_r20/external/bcc/src/lua/ |
H A D | squishy | 1 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 …]
|
H A D | CMakeLists.txt | 6 ${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 …]
|
/aosp_15_r20/external/bcc/.github/workflows/ |
H A D | bcc-test.yml | 1 name: BCC Build and tests 60 …{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ matrix.os.distro }}-${{ matrix.os.version }} bcc-docker 61 - name: Run bcc build 67 -v $(pwd):/bcc \ 72 bcc-docker \ 74 'mkdir -p /bcc/build && cd /bcc/build && \ 76 - name: Run bcc's cc tests 86 -v $(pwd):/bcc \ 91 bcc-docker \ 93 '/bcc/build/tests/wrapper.sh \ [all …]
|
/aosp_15_r20/trusty/user/base/lib/hwbcc/test/ |
D | main.cpp | 90 TEST_F(swbcc, bcc) { in TEST_F() argument 92 uint8_t bcc[HWBCC_MAX_RESP_PAYLOAD_SIZE]; in TEST_F() local 98 memset(bcc, 0, sizeof(bcc)); in TEST_F() 100 rc = swbcc_get_bcc(_state->s, true, bcc, sizeof(bcc), &bcc_size); in TEST_F() 104 ASSERT_EQ(validate_bcc_impl(bcc, bcc_size, &keys), true); in TEST_F() 106 /* Only a degenerate self-signed BCC is currently supported. */ in TEST_F() 121 uint8_t bcc[HWBCC_MAX_RESP_PAYLOAD_SIZE]; in TEST() local 128 memset(bcc, 0, sizeof(bcc)); in TEST() 133 &cose_sign1_size, bcc, sizeof(bcc), &bcc_size); in TEST() 139 ASSERT_EQ(validate_bcc_impl(bcc, bcc_size, &keys1), true); in TEST() [all …]
|
/aosp_15_r20/external/bcc/src/cc/ |
H A D | CMakeLists.txt | 91 add_library(bcc-shared SHARED 94 set_target_properties(bcc-shared PROPERTIES VERSION ${REVISION_LAST} SOVERSION 0) 95 set_target_properties(bcc-shared PROPERTIES OUTPUT_NAME bcc) 103 add_library(bcc-loader-static STATIC ${bcc_sym_sources} ${bcc_util_sources}) 104 target_link_libraries(bcc-loader-static elf z) 105 add_library(bcc-static STATIC 107 set_target_properties(bcc-static PROPERTIES OUTPUT_NAME bcc) 108 set(bcc-lua-static 160 target_sources(bcc-static PRIVATE $<TARGET_OBJECTS:api-objects>) 175 target_sources(bcc-static PRIVATE $<TARGET_OBJECTS:clang_frontend-objects>) [all …]
|
/aosp_15_r20/trusty/user/base/lib/hwbcc/rust/src/ |
D | test.rs | 54 non-secure world, Bcc is not present in the returned dice_artifacts. in test_get_dice_artifacts() 59 ? 3 : Bcc, // Cert_Chain in test_get_dice_artifacts() 61 Bcc = [ in test_get_dice_artifacts() 110 let bcc = get_bcc(HwBccMode::Test, &mut bcc_buf).expect("could not get bcc"); in test_get_bcc_test_mode() localVariable 112 assert!(bcc.len() > 0); in test_get_bcc_test_mode() 118 // SAFETY: the bcc bytes will be deserialized from CBOR in test_get_bcc_test_mode() 122 bcc.as_ptr(), in test_get_bcc_test_mode() 123 bcc.len(), in test_get_bcc_test_mode() 132 let bcc = get_bcc(HwBccMode::Test, &mut bcc_buf).expect("could not get bcc"); in test_get_bcc_test_mode() localVariable 134 assert!(bcc.len() > 0); in test_get_bcc_test_mode() [all …]
|
/aosp_15_r20/prebuilts/vndk/v33/arm64/include/generated-headers/hardware/interfaces/security/dice/aidl/android.hardware.security.dice-V1-ndk-source/gen/include/aidl/android/hardware/security/dice/ |
D | BccHandover.h | 11 #include <aidl/android/hardware/security/dice/Bcc.h> 28 ::aidl::android::hardware::security::dice::Bcc bcc; 34 return std::tie(cdiAttest, cdiSeal, bcc) != std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 37 return std::tie(cdiAttest, cdiSeal, bcc) < std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 40 return std::tie(cdiAttest, cdiSeal, bcc) <= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 43 return std::tie(cdiAttest, cdiSeal, bcc) == std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 46 return std::tie(cdiAttest, cdiSeal, bcc) > std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 49 return std::tie(cdiAttest, cdiSeal, bcc) >= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 58 os << ", bcc: " << ::android::internal::ToString(bcc); in toString()
|
/aosp_15_r20/prebuilts/vndk/v33/arm/include/generated-headers/hardware/interfaces/security/dice/aidl/android.hardware.security.dice-V1-ndk-source/gen/include/aidl/android/hardware/security/dice/ |
D | BccHandover.h | 11 #include <aidl/android/hardware/security/dice/Bcc.h> 28 ::aidl::android::hardware::security::dice::Bcc bcc; 34 return std::tie(cdiAttest, cdiSeal, bcc) != std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 37 return std::tie(cdiAttest, cdiSeal, bcc) < std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 40 return std::tie(cdiAttest, cdiSeal, bcc) <= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 43 return std::tie(cdiAttest, cdiSeal, bcc) == std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 46 return std::tie(cdiAttest, cdiSeal, bcc) > std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 49 return std::tie(cdiAttest, cdiSeal, bcc) >= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 58 os << ", bcc: " << ::android::internal::ToString(bcc); in toString()
|
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/generated-headers/hardware/interfaces/security/dice/aidl/android.hardware.security.dice-V1-ndk-source/gen/include/aidl/android/hardware/security/dice/ |
D | BccHandover.h | 11 #include <aidl/android/hardware/security/dice/Bcc.h> 28 ::aidl::android::hardware::security::dice::Bcc bcc; 34 return std::tie(cdiAttest, cdiSeal, bcc) != std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 37 return std::tie(cdiAttest, cdiSeal, bcc) < std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 40 return std::tie(cdiAttest, cdiSeal, bcc) <= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 43 return std::tie(cdiAttest, cdiSeal, bcc) == std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 46 return std::tie(cdiAttest, cdiSeal, bcc) > std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 49 return std::tie(cdiAttest, cdiSeal, bcc) >= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 58 os << ", bcc: " << ::android::internal::ToString(bcc); in toString()
|
/aosp_15_r20/prebuilts/vndk/v33/x86/include/generated-headers/hardware/interfaces/security/dice/aidl/android.hardware.security.dice-V1-ndk-source/gen/include/aidl/android/hardware/security/dice/ |
D | BccHandover.h | 11 #include <aidl/android/hardware/security/dice/Bcc.h> 28 ::aidl::android::hardware::security::dice::Bcc bcc; 34 return std::tie(cdiAttest, cdiSeal, bcc) != std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 37 return std::tie(cdiAttest, cdiSeal, bcc) < std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 40 return std::tie(cdiAttest, cdiSeal, bcc) <= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 43 return std::tie(cdiAttest, cdiSeal, bcc) == std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 46 return std::tie(cdiAttest, cdiSeal, bcc) > std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 49 return std::tie(cdiAttest, cdiSeal, bcc) >= std::tie(rhs.cdiAttest, rhs.cdiSeal, rhs.bcc); 58 os << ", bcc: " << ::android::internal::ToString(bcc); in toString()
|
/aosp_15_r20/packages/modules/Virtualization/guest/pvmfw/src/ |
D | entry.rs | 40 /// A malformed BCC was received. 84 Ok((entry, bcc, keep_uart)) => { in start() 85 jump_to_payload(fdt_address, entry.try_into().unwrap(), bcc, keep_uart) in start() 132 config_entries.bcc, in main_wrapper() 141 config_entries.bcc.zeroize(); in main_wrapper() 152 fn jump_to_payload(fdt_address: u64, payload_start: u64, bcc: Range<usize>, keep_uart: bool) -> ! { in jump_to_payload() 176 assert!(bcc.is_within(&(scratch.start.0..scratch.end.0))); in jump_to_payload() 177 assert_eq!(bcc.start % ASM_STP_ALIGN, 0, "Misaligned guest BCC."); in jump_to_payload() 178 assert_eq!(bcc.end % ASM_STP_ALIGN, 0, "Misaligned guest BCC."); in jump_to_payload() 199 "cmp {scratch}, {bcc}", in jump_to_payload() [all …]
|
D | bcc.rs | 15 //! Code to inspect/manipulate the BCC (DICE Chain) we receive from our loader (the hypervisor). 48 Self::CborDecodeError => write!(f, "Error parsing BCC CBOR"), in fmt() 49 Self::CborEncodeError => write!(f, "Error encoding BCC CBOR"), in fmt() 53 write!(f, "BCC does not have the expected CBOR structure: {s}") in fmt() 55 Self::MissingBcc => write!(f, "Missing BCC"), in fmt() 61 /// from the received BCC. 71 // ? 3 : Bcc, ; Certificate chain in truncate() 93 /// Represents a (partially) decoded BCC DICE chain. 94 pub struct Bcc { struct 99 impl Bcc { argument [all …]
|
/aosp_15_r20/external/pdfium/testing/resources/javascript/ |
H A D | document_methods_expected.txt | 116 Mail Msg: 1, to=, cc=, bcc=, subject=, body= 118 Mail Msg: 0, [email protected], [email protected], bcc=bcc@example.com, subject=Lottery Winner, b… 119 Alert: PASS: this.mailDoc(false, "[email protected]", "[email protected]", "bcc@example.com", "Lottery … 120 Mail Msg: 1, to=, cc=, bcc=, subject=, body= 122 Mail Msg: 0, [email protected], [email protected], bcc=bcc@example.com, subject=LotteryWinner, bo… 123 …"bUI": false, "cTo": "[email protected]", "cCc": "[email protected]", "cBcc": "bcc@example.com", "cSub… 125 Mail Msg: 1, to=, cc=, bcc=, subject=, body= 127 Mail Msg: 0, [email protected], [email protected], bcc=bcc@example.com, subject=Lottery Winner, b… 128 Alert: PASS: this.mailForm(false, "[email protected]", "[email protected]", "bcc@example.com", "Lottery… 129 Mail Msg: 1, to=, cc=, bcc=, subject=, body= [all …]
|
/aosp_15_r20/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 286 addUnigramWord(binaryDictionary, "bcc", unigramProbability); in testAddBigramWords() 288 addBigramWords(binaryDictionary, "aaa", "bcc", bigramProbability); in testAddBigramWords() 290 addBigramWords(binaryDictionary, "abb", "bcc", bigramProbability); in testAddBigramWords() 293 assertTrue(isValidBigram(binaryDictionary, "aaa", "bcc")); in testAddBigramWords() 295 assertTrue(isValidBigram(binaryDictionary, "abb", "bcc")); in testAddBigramWords() 297 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "aaa", "bcc")); in testAddBigramWords() 299 assertEquals(bigramProbability, getBigramProbability(binaryDictionary, "abb", "bcc")); in testAddBigramWords() 305 assertFalse(isValidBigram(binaryDictionary, "bcc", "aaa")); in testAddBigramWords() 306 assertFalse(isValidBigram(binaryDictionary, "bcc", "bbc")); in testAddBigramWords() 309 getBigramProbability(binaryDictionary, "bcc", "aaa")); in testAddBigramWords() [all …]
|
/aosp_15_r20/packages/modules/Virtualization/libs/dice/open_dice/src/ |
D | retry.rs | 20 use crate::bcc::{bcc_format_config_descriptor, bcc_main_flow, DiceConfigValues}; 31 /// and the BCC formatted attestation certificate chain. 40 bcc: Vec<u8>, field 52 fn bcc(&self) -> Option<&[u8]> { in bcc() method 53 Some(&self.bcc) in bcc() 74 /// Formats a configuration descriptor following the BCC's specification. 79 /// Executes the main BCC flow. 81 /// Given a full set of input values along with the current BCC and CDI values, 82 /// computes the next CDI values and matching updated BCC. 86 bcc: &[u8], in retry_bcc_main_flow() [all …]
|