lkml.org 
[lkml]   [2015]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v8 47/49] perf tools: Generate prologue for BPF programs
On 6/24/15 5:31 AM, Wang Nan wrote:
> This patch generates prologue for each 'struct probe_trace_event' for
> fetching arguments for BPF programs.
>
> After bpf__probe(), iterate over each programs to check whether
> prologue is required. If non of tev have argument, simply skip
> preprocessor hooking. For those who prologue is required, calls
> bpf__gen_prologue() and paste original instruction after prologue.

please don't abbreviate tev, pev in commit logs. It's hard to read
for anyone but core perf experts.



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