We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e6f5dc commit 0698ac6Copy full SHA for 0698ac6
tools/bpf/bpftool/skeleton/profiler.bpf.c
@@ -70,7 +70,7 @@ int BPF_PROG(fentry_XXX)
70
static inline void
71
fexit_update_maps(u32 id, struct bpf_perf_event_value *after)
72
{
73
- struct bpf_perf_event_value *before, diff, *accum;
+ struct bpf_perf_event_value *before, diff;
74
75
before = bpf_map_lookup_elem(&fentry_readings, &id);
76
/* only account samples with a valid fentry_reading */
@@ -95,7 +95,7 @@ int BPF_PROG(fexit_XXX)
95
96
struct bpf_perf_event_value readings[MAX_NUM_MATRICS];
97
u32 cpu = bpf_get_smp_processor_id();
98
- u32 i, one = 1, zero = 0;
+ u32 i, zero = 0;
99
int err;
100
u64 *count;
101
0 commit comments