Home
last modified time | relevance | path

Searched refs:cpu_buf (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/oprofile/
H A Dcpu_buffer.c50 struct oprofile_cpu_buffer *cpu_buf = this_cpu_ptr(&op_cpu_buffer); in oprofile_cpu_buffer_inc_smpl_lost() local
52 cpu_buf->sample_lost_overflow++; in oprofile_cpu_buffer_inc_smpl_lost()
184 op_add_code(struct oprofile_cpu_buffer *cpu_buf, unsigned long backtrace, in op_add_code() argument
199 if (cpu_buf->last_is_kernel != is_kernel) { in op_add_code()
200 cpu_buf->last_is_kernel = is_kernel; in op_add_code()
207 if (cpu_buf->last_task != task) { in op_add_code()
208 cpu_buf->last_task = task; in op_add_code()
237 op_add_sample(struct oprofile_cpu_buffer *cpu_buf, in op_add_sample() argument
262 log_sample(struct oprofile_cpu_buffer *cpu_buf, unsigned long pc, in log_sample() argument
267 cpu_buf->sample_received++; in log_sample()
[all …]
H A Doprofile_stats.c22 struct oprofile_cpu_buffer *cpu_buf; in oprofile_reset_stats() local
26 cpu_buf = &per_cpu(op_cpu_buffer, i); in oprofile_reset_stats()
27 cpu_buf->sample_received = 0; in oprofile_reset_stats()
28 cpu_buf->sample_lost_overflow = 0; in oprofile_reset_stats()
29 cpu_buf->backtrace_aborted = 0; in oprofile_reset_stats()
30 cpu_buf->sample_invalid_eip = 0; in oprofile_reset_stats()
43 struct oprofile_cpu_buffer *cpu_buf; in oprofile_create_stats_files() local
54 cpu_buf = &per_cpu(op_cpu_buffer, i); in oprofile_create_stats_files()
63 &cpu_buf->sample_received); in oprofile_create_stats_files()
65 &cpu_buf->sample_lost_overflow); in oprofile_create_stats_files()
[all …]
H A Dcpu_buffer.h64 struct oprofile_cpu_buffer *cpu_buf = &per_cpu(op_cpu_buffer, cpu); in op_cpu_buffer_reset() local
66 cpu_buf->last_is_kernel = -1; in op_cpu_buffer_reset()
67 cpu_buf->last_task = NULL; in op_cpu_buffer_reset()
/OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/src/
H A Dteec_benchmark.c168 struct tee_ts_cpu_buf *cpu_buf = NULL; in bm_timestamp() local
208 cpu_buf = &bench_ts_global->cpu_buf[cur_cpu]; in bm_timestamp()
209 ts_i = __sync_fetch_and_add(&cpu_buf->head, 1); in bm_timestamp()
213 cpu_buf->stamps[ts_i & TEE_BENCH_MAX_MASK] = ts_data; in bm_timestamp()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c9984 struct perf_cpu_buf *cpu_buf) in perf_buffer__free_cpu_buf() argument
9986 if (!cpu_buf) in perf_buffer__free_cpu_buf()
9988 if (cpu_buf->base && in perf_buffer__free_cpu_buf()
9989 munmap(cpu_buf->base, pb->mmap_size + pb->page_size)) in perf_buffer__free_cpu_buf()
9990 pr_warn("failed to munmap cpu_buf #%d\n", cpu_buf->cpu); in perf_buffer__free_cpu_buf()
9991 if (cpu_buf->fd >= 0) { in perf_buffer__free_cpu_buf()
9992 ioctl(cpu_buf->fd, PERF_EVENT_IOC_DISABLE, 0); in perf_buffer__free_cpu_buf()
9993 close(cpu_buf->fd); in perf_buffer__free_cpu_buf()
9995 free(cpu_buf->buf); in perf_buffer__free_cpu_buf()
9996 free(cpu_buf); in perf_buffer__free_cpu_buf()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/public/
H A Dtee_bench.h75 struct tee_ts_cpu_buf cpu_buf[]; member
/OK3568_Linux_fs/external/security/rk_tee_user/v2/client_export/public/
H A Dtee_bench.h75 struct tee_ts_cpu_buf cpu_buf[]; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c483 struct perf_cpu_buf *cpu_buf; in perfbuf_custom_consumer() local
502 cpu_buf = pb->events[i].data.ptr; in perfbuf_custom_consumer()
503 header = cpu_buf->base; in perfbuf_custom_consumer()