mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-02-05 12:03:58 +00:00
This just adds the initial "workload", a call to libc's usleep(1000us)
function:
$ perf stat --null perf bench uprobe all
# Running uprobe/baseline benchmark...
# Executed 1000 usleep(1000) calls
Total time: 1053533 usecs
1053.533 usecs/op
Performance counter stats for 'perf bench uprobe all':
1.061042896 seconds time elapsed
0.001079000 seconds user
0.006499000 seconds sys
$
More entries will be added using a BPF skel to add various uprobes to
the usleep() function.
Acked-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andre Fredette <anfredet@redhat.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Dave Tucker <datucker@redhat.com>
Cc: Derek Barbosa <debarbos@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/20230719204910.539044-2-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
25 lines
599 B
Plaintext
25 lines
599 B
Plaintext
perf-y += sched-messaging.o
|
|
perf-y += sched-pipe.o
|
|
perf-y += syscall.o
|
|
perf-y += mem-functions.o
|
|
perf-y += futex-hash.o
|
|
perf-y += futex-wake.o
|
|
perf-y += futex-wake-parallel.o
|
|
perf-y += futex-requeue.o
|
|
perf-y += futex-lock-pi.o
|
|
perf-y += epoll-wait.o
|
|
perf-y += epoll-ctl.o
|
|
perf-y += synthesize.o
|
|
perf-y += kallsyms-parse.o
|
|
perf-y += find-bit-bench.o
|
|
perf-y += inject-buildid.o
|
|
perf-y += evlist-open-close.o
|
|
perf-y += breakpoint.o
|
|
perf-y += pmu-scan.o
|
|
perf-y += uprobe.o
|
|
|
|
perf-$(CONFIG_X86_64) += mem-memcpy-x86-64-asm.o
|
|
perf-$(CONFIG_X86_64) += mem-memset-x86-64-asm.o
|
|
|
|
perf-$(CONFIG_NUMA) += numa.o
|