forked from luck/tmp_suning_uos_patched
2a4b51666a
Event synthesis may occur at the start or end (tail) of a perf command. In system-wide mode it can scan every process in /proc, which may add seconds of latency before event recording. Add a new benchmark that times how long event synthesis takes with and without data synthesis. An example execution looks like: $ perf bench internals synthesize # Running 'internals/synthesize' benchmark: Average synthesis took: 168.253800 usec Average data synthesis took: 208.104700 usec Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andrey Zhizhikin <andrey.z@gmail.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Petr Mladek <pmladek@suse.com> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lore.kernel.org/lkml/20200402154357.107873-2-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
18 lines
454 B
Plaintext
18 lines
454 B
Plaintext
perf-y += sched-messaging.o
|
|
perf-y += sched-pipe.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-$(CONFIG_X86_64) += mem-memcpy-x86-64-lib.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
|