Resguardo inicial

This commit is contained in:
lastdragon
2026-09-06 12:53:21 -06:00
parent 662efe3c2a
commit ad2088d178
94853 changed files with 43200404 additions and 0 deletions
@@ -0,0 +1,27 @@
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
/* Data structures shared between BPF and tools. */
#ifndef UTIL_BPF_SKEL_SYSCALL_SUMMARY_H
#define UTIL_BPF_SKEL_SYSCALL_SUMMARY_H
enum syscall_aggr_mode {
SYSCALL_AGGR_THREAD,
SYSCALL_AGGR_CPU,
SYSCALL_AGGR_CGROUP,
};
struct syscall_key {
u64 cgroup;
int cpu_or_tid;
int nr;
};
struct syscall_stats {
u64 total_time;
u64 squared_sum;
u64 max_time;
u64 min_time;
u32 count;
u32 error;
};
#endif /* UTIL_BPF_SKEL_SYSCALL_SUMMARY_H */