FILE
syscall_summary.h
File preview with syntax highlighting.
linux-6.19.14/tools/perf/util/bpf_skel/syscall_summary.h
1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* Data structures shared between BPF and tools. */ 3#ifndef UTIL_BPF_SKEL_SYSCALL_SUMMARY_H 4#define UTIL_BPF_SKEL_SYSCALL_SUMMARY_H 5 6enum syscall_aggr_mode { 7 SYSCALL_AGGR_THREAD, 8 SYSCALL_AGGR_CPU, 9 SYSCALL_AGGR_CGROUP, 10}; 11 12struct syscall_key { 13 u64 cgroup; 14 int cpu_or_tid; 15 int nr; 16}; 17 18struct syscall_stats { 19 u64 total_time; 20 u64 squared_sum; 21 u64 max_time; 22 u64 min_time; 23 u32 count; 24 u32 error; 25}; 26 27#endif /* UTIL_BPF_SKEL_SYSCALL_SUMMARY_H */
~/
Read-only file preview.