Messages in this thread | | | Date | Tue, 16 Jun 2015 13:22:14 +0800 | From | "Wangnan (F)" <> | Subject | Re: [RFC PATCH v7 00/37] perf tools: filtering events using eBPF programs |
| |
On 2015/6/13 0:58, Alexei Starovoitov wrote: > > btw, what compile times do you see? > On my machine compiling basic hello_world.c with #include bpf_helpers.h > and few kernel headers take: 0.02 sec > So using .c is quite instant. Feels like interpreted language ;)
Sorry I didn't see your question for several days.
It takes 1.63 seconds for perf to compile lock_page.c I posted in previous mail. Most of the time is consumed by kernel include directories detection. If skip the detector and passes options through cmdline, time reduced to 0.2 seconds. My environment is a server equipped with Intel Xeon 2.4G cores. However the storage is NFS based.
Thank you.
| |