bench.c (467dd91e2f783d34b2205751bdf88bcdcac55984) bench.c (d41bc48bfab2076f7db88d079a3a3203dd9c4a54)
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2020 Facebook */
3#define _GNU_SOURCE
4#include <argp.h>
5#include <linux/compiler.h>
6#include <sys/time.h>
7#include <sched.h>
8#include <fcntl.h>

--- 345 unchanged lines hidden (view full) ---

354extern const struct bench bench_rename_fexit;
355extern const struct bench bench_trig_base;
356extern const struct bench bench_trig_tp;
357extern const struct bench bench_trig_rawtp;
358extern const struct bench bench_trig_kprobe;
359extern const struct bench bench_trig_fentry;
360extern const struct bench bench_trig_fentry_sleep;
361extern const struct bench bench_trig_fmodret;
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (c) 2020 Facebook */
3#define _GNU_SOURCE
4#include <argp.h>
5#include <linux/compiler.h>
6#include <sys/time.h>
7#include <sched.h>
8#include <fcntl.h>

--- 345 unchanged lines hidden (view full) ---

354extern const struct bench bench_rename_fexit;
355extern const struct bench bench_trig_base;
356extern const struct bench bench_trig_tp;
357extern const struct bench bench_trig_rawtp;
358extern const struct bench bench_trig_kprobe;
359extern const struct bench bench_trig_fentry;
360extern const struct bench bench_trig_fentry_sleep;
361extern const struct bench bench_trig_fmodret;
362extern const struct bench bench_trig_uprobe_base;
363extern const struct bench bench_trig_uprobe_with_nop;
364extern const struct bench bench_trig_uretprobe_with_nop;
365extern const struct bench bench_trig_uprobe_without_nop;
366extern const struct bench bench_trig_uretprobe_without_nop;
362extern const struct bench bench_rb_libbpf;
363extern const struct bench bench_rb_custom;
364extern const struct bench bench_pb_libbpf;
365extern const struct bench bench_pb_custom;
366extern const struct bench bench_bloom_lookup;
367extern const struct bench bench_bloom_update;
368extern const struct bench bench_bloom_false_positive;
369extern const struct bench bench_hashmap_without_bloom;

--- 10 unchanged lines hidden (view full) ---

380 &bench_rename_fexit,
381 &bench_trig_base,
382 &bench_trig_tp,
383 &bench_trig_rawtp,
384 &bench_trig_kprobe,
385 &bench_trig_fentry,
386 &bench_trig_fentry_sleep,
387 &bench_trig_fmodret,
367extern const struct bench bench_rb_libbpf;
368extern const struct bench bench_rb_custom;
369extern const struct bench bench_pb_libbpf;
370extern const struct bench bench_pb_custom;
371extern const struct bench bench_bloom_lookup;
372extern const struct bench bench_bloom_update;
373extern const struct bench bench_bloom_false_positive;
374extern const struct bench bench_hashmap_without_bloom;

--- 10 unchanged lines hidden (view full) ---

385 &bench_rename_fexit,
386 &bench_trig_base,
387 &bench_trig_tp,
388 &bench_trig_rawtp,
389 &bench_trig_kprobe,
390 &bench_trig_fentry,
391 &bench_trig_fentry_sleep,
392 &bench_trig_fmodret,
393 &bench_trig_uprobe_base,
394 &bench_trig_uprobe_with_nop,
395 &bench_trig_uretprobe_with_nop,
396 &bench_trig_uprobe_without_nop,
397 &bench_trig_uretprobe_without_nop,
388 &bench_rb_libbpf,
389 &bench_rb_custom,
390 &bench_pb_libbpf,
391 &bench_pb_custom,
392 &bench_bloom_lookup,
393 &bench_bloom_update,
394 &bench_bloom_false_positive,
395 &bench_hashmap_without_bloom,

--- 120 unchanged lines hidden ---
398 &bench_rb_libbpf,
399 &bench_rb_custom,
400 &bench_pb_libbpf,
401 &bench_pb_custom,
402 &bench_bloom_lookup,
403 &bench_bloom_update,
404 &bench_bloom_false_positive,
405 &bench_hashmap_without_bloom,

--- 120 unchanged lines hidden ---