Searched refs:perf_fd (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/intel/vulkan/ |
D | anv_perf.c | 72 device->perf_fd = -1; in anv_device_perf_init() 245 if (device->perf_fd < 0) { in anv_QueueSetPerformanceConfigurationINTEL() 246 device->perf_fd = anv_device_perf_open(device, config->config_id); in anv_QueueSetPerformanceConfigurationINTEL() 247 if (device->perf_fd < 0) in anv_QueueSetPerformanceConfigurationINTEL() 250 int ret = gen_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_QueueSetPerformanceConfigurationINTEL() 265 if (device->perf_fd >= 0) { in anv_UninitializePerformanceApiINTEL() 266 close(device->perf_fd); in anv_UninitializePerformanceApiINTEL() 267 device->perf_fd = -1; in anv_UninitializePerformanceApiINTEL() 371 assert(device->perf_fd == -1); in anv_AcquireProfilingLockKHR() 379 device->perf_fd = fd; in anv_AcquireProfilingLockKHR() [all …]
|
D | anv_batch_chain.c | 1822 int ret = gen_ioctl(device->perf_fd, I915_PERF_IOCTL_CONFIG, in anv_queue_execbuf_locked()
|
D | anv_private.h | 1418 int perf_fd; /* -1 if no opened */ member
|
/external/perfetto/src/profiling/perf/ |
D | event_reader.cc | 54 base::ScopedFile perf_fd{ in PerfEventOpen() local 57 return perf_fd; in PerfEventOpen() 91 int perf_fd, in Allocate() argument 104 MAP_SHARED, perf_fd, 0); in Allocate() 190 base::ScopedFile perf_fd, in EventReader() argument 194 perf_fd_(std::move(perf_fd)), in EventReader() 215 auto perf_fd = PerfEventOpen(cpu, event_cfg); in ConfigureEvents() local 216 if (!perf_fd) { in ConfigureEvents() 222 PerfRingBuffer::Allocate(perf_fd.get(), event_cfg.ring_buffer_pages()); in ConfigureEvents() 228 std::move(perf_fd), in ConfigureEvents()
|
D | event_reader.h | 36 static base::Optional<PerfRingBuffer> Allocate(int perf_fd, 103 base::ScopedFile perf_fd,
|