/external/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 118 struct perf_event_attr hw_event; in count_hardware_counters() 123 memset(&hw_event, 0, sizeof(struct perf_event_attr)); in count_hardware_counters() 126 hw_event.size = sizeof(struct perf_event_attr); in count_hardware_counters() 200 struct perf_event_attr tsk_event, hw_event; in setup() 232 memset(&hw_event, 0, sizeof(struct perf_event_attr)); in setup() 233 memset(&tsk_event, 0, sizeof(struct perf_event_attr)); in setup() 236 tsk_event.size = sizeof(struct perf_event_attr); in setup() 241 hw_event.size = sizeof(struct perf_event_attr); in setup()
|
D | perf_event_open01.c | 77 static struct perf_event_attr pe; 112 pe.size = sizeof(struct perf_event_attr); in setup() 119 static int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open()
|
D | perf_event_open03.c | 32 struct perf_event_attr ev = { in setup() 33 .size = sizeof(struct perf_event_attr), in setup()
|
/external/strace/ |
D | perf.c | 51 struct perf_event_attr *attr; 68 struct perf_event_attr *attr; in fetch_perf_event_attr() 71 if (umove(tcp, addr + offsetof(struct perf_event_attr, size), &size)) { in fetch_perf_event_attr() 92 size = offsetofend(struct perf_event_attr, config); in fetch_perf_event_attr() 126 struct perf_event_attr *attr; in print_perf_event_attr() 139 if (offsetof(struct perf_event_attr, _field) >= size) \ in print_perf_event_attr() 150 if (umove(tcp, addr + offsetof(struct perf_event_attr, size), in print_perf_event_attr()
|
D | configure.ac | 362 struct perf_event_attr.precise_ip, 363 struct perf_event_attr.mmap_data, 364 struct perf_event_attr.sample_id_all, 365 struct perf_event_attr.exclude_host, 366 struct perf_event_attr.exclude_guest, 367 struct perf_event_attr.exclude_callchain_kernel, 368 struct perf_event_attr.exclude_callchain_user, 369 struct perf_event_attr.mmap2, 370 struct perf_event_attr.comm_exec, 371 struct perf_event_attr.use_clockid, [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 54 static void perf_user_event_attr_set(struct perf_event_attr *attr, __u64 addr, __u64 len) in perf_user_event_attr_set() 56 memset(attr, 0, sizeof(struct perf_event_attr)); in perf_user_event_attr_set() 58 attr->size = sizeof(struct perf_event_attr); in perf_user_event_attr_set() 66 static void perf_kernel_event_attr_set(struct perf_event_attr *attr) in perf_kernel_event_attr_set() 68 memset(attr, 0, sizeof(struct perf_event_attr)); in perf_kernel_event_attr_set() 70 attr->size = sizeof(struct perf_event_attr); in perf_kernel_event_attr_set() 80 struct perf_event_attr attr; in perf_cpu_event_open() 88 struct perf_event_attr attr; in perf_thread_event_open() 96 struct perf_event_attr attr; in perf_thread_cpu_event_open() 104 struct perf_event_attr attr; in perf_thread_kernel_event_open() [all …]
|
/external/tensorflow/tensorflow/core/platform/profile_utils/ |
D | android_armv7a_cpu_utils_helper.cc | 86 perf_event_attr pe; in InitializeInternal() 88 memset(&pe, 0, sizeof(perf_event_attr)); in InitializeInternal() 90 pe.size = sizeof(perf_event_attr); in InitializeInternal() 105 int AndroidArmV7ACpuUtilsHelper::OpenPerfEvent(perf_event_attr *const hw_event, in OpenPerfEvent()
|
D | android_armv7a_cpu_utils_helper.h | 28 struct perf_event_attr; 50 int OpenPerfEvent(perf_event_attr *const hw_event, const pid_t pid,
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_linux.cc | 83 sizeof(struct perf_event_attr)); 84 CHECK_SIZE_AND_OFFSET(perf_event_attr, type); 85 CHECK_SIZE_AND_OFFSET(perf_event_attr, size);
|
/external/strace/tests-mx32/ |
D | perf_event_open.c | 146 print_event_attr(struct perf_event_attr *attr_ptr, size_t size, in print_event_attr() 158 offsetof(struct perf_event_attr, config) + in print_event_attr() 164 struct perf_event_attr *attr; in print_event_attr() 677 struct perf_event_attr *ptr; in main() 680 ATTR_REC(sizeof(struct perf_event_attr)), in main() 695 TAIL_ALLOC_OBJECT_CONST_PTR(struct perf_event_attr, small_attr); in main() 698 struct perf_event_attr *attr; in main() 718 { (struct perf_event_attr *) (uintptr_t) 0xfffffacefffffeedULL, in main() 739 struct perf_event_attr *attr = attrs[i % ARRAY_SIZE(attrs)].ptr; in main()
|
D | perf_event_open_nonverbose.c | 66 TAIL_ALLOC_OBJECT_CONST_PTR(struct perf_event_attr, attr); in main() 72 struct perf_event_attr *attr; in main()
|
/external/strace/tests-m32/ |
D | perf_event_open.c | 146 print_event_attr(struct perf_event_attr *attr_ptr, size_t size, in print_event_attr() 158 offsetof(struct perf_event_attr, config) + in print_event_attr() 164 struct perf_event_attr *attr; in print_event_attr() 677 struct perf_event_attr *ptr; in main() 680 ATTR_REC(sizeof(struct perf_event_attr)), in main() 695 TAIL_ALLOC_OBJECT_CONST_PTR(struct perf_event_attr, small_attr); in main() 698 struct perf_event_attr *attr; in main() 718 { (struct perf_event_attr *) (uintptr_t) 0xfffffacefffffeedULL, in main() 739 struct perf_event_attr *attr = attrs[i % ARRAY_SIZE(attrs)].ptr; in main()
|
D | perf_event_open_nonverbose.c | 66 TAIL_ALLOC_OBJECT_CONST_PTR(struct perf_event_attr, attr); in main() 72 struct perf_event_attr *attr; in main()
|
/external/strace/tests/ |
D | perf_event_open.c | 146 print_event_attr(struct perf_event_attr *attr_ptr, size_t size, in print_event_attr() 158 offsetof(struct perf_event_attr, config) + in print_event_attr() 164 struct perf_event_attr *attr; in print_event_attr() 677 struct perf_event_attr *ptr; in main() 680 ATTR_REC(sizeof(struct perf_event_attr)), in main() 695 TAIL_ALLOC_OBJECT_CONST_PTR(struct perf_event_attr, small_attr); in main() 698 struct perf_event_attr *attr; in main() 718 { (struct perf_event_attr *) (uintptr_t) 0xfffffacefffffeedULL, in main() 739 struct perf_event_attr *attr = attrs[i % ARRAY_SIZE(attrs)].ptr; in main()
|
D | perf_event_open_nonverbose.c | 66 TAIL_ALLOC_OBJECT_CONST_PTR(struct perf_event_attr, attr); in main() 72 struct perf_event_attr *attr; in main()
|
/external/perfetto/src/profiling/perf/ |
D | event_config.h | 143 perf_event_attr* perf_attr() const { in perf_attr() 144 return const_cast<perf_event_attr*>(&perf_event_attr_); in perf_attr() 154 const perf_event_attr& pe, 168 perf_event_attr perf_event_attr_ = {};
|
/external/bcc/tests/python/ |
D | test_attach_perf_event.py | 53 event_attr = Perf.perf_event_attr() 98 event_attr = Perf.perf_event_attr() 144 event_attr = Perf.perf_event_attr()
|
/external/linux-kselftest/tools/testing/selftests/perf_events/ |
D | sigtrap_threads.c | 49 static struct perf_event_attr make_event_attr(bool enabled, volatile void *addr, in make_event_attr() 52 struct perf_event_attr attr = { in make_event_attr() 114 struct perf_event_attr attr = make_event_attr(false, &ctx.iterate_on, 0); in FIXTURE_SETUP() 179 struct perf_event_attr new_attr = make_event_attr(true, &ctx.iterate_on, 42); in TEST_F()
|
D | remove_on_exec.c | 37 static struct perf_event_attr make_event_attr(void) in make_event_attr() 39 struct perf_event_attr attr = { in make_event_attr() 77 struct perf_event_attr attr = make_event_attr(); in FIXTURE_SETUP()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
D | utils.c | 206 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() 213 static void perf_event_attr_init(struct perf_event_attr *event_attr, in perf_event_attr_init() 220 event_attr->size = sizeof(struct perf_event_attr); in perf_event_attr_init() 233 struct perf_event_attr event_attr; in perf_event_open_counter()
|
/external/ComputeLibrary/tests/framework/instruments/ |
D | PMU.h | 77 void open(const perf_event_attr &perf_config); 86 perf_event_attr _perf_config;
|
D | PMU.cpp | 41 _perf_config.size = sizeof(perf_event_attr); in PMU() 69 void PMU::open(const perf_event_attr &perf_config) in open()
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 14 static void test_send_signal_common(struct perf_event_attr *attr, in test_send_signal_common() 151 struct perf_event_attr attr = { in test_send_signal_perf() 162 struct perf_event_attr attr = { in test_send_signal_nmi()
|
D | pe_preserve_elems.c | 14 struct perf_event_attr attr = { in test_one_map() 15 .size = sizeof(struct perf_event_attr), in test_one_map()
|
/external/cronet/base/android/ |
D | thread_instruction_count.cc | 39 struct perf_event_attr pe = {0}; in OpenInstructionCounterFdForThread() 41 pe.size = sizeof(struct perf_event_attr); in OpenInstructionCounterFdForThread()
|