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.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to