lkml.org 
[lkml]   [2015]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.




\
 
 \ /
  Last update: 2015-06-16 08:01    [W:0.215 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site