发自我的 iPhone
> 在 2016年7月1日,下午9:40,Arnaldo Carvalho de Melo 写道:
>
> Em Fri, Jul 01, 2016 at 02:23:44AM +, Wang Nan escreveu:
>> From: Arnaldo Carvalho de Melo
>>
>> 'perf test backward' FAILED on old kernel:
>>
>> [root@jouet ~]# perf test -v backward
>> 45: Test backward reading from rin
发自我的 iPhone
> 在 2016年6月29日,下午8:37,Alexei Starovoitov 写道:
>
>> On Wed, Jun 29, 2016 at 06:35:12PM +0800, Wangnan (F) wrote:
>>
>>
>>> On 2016/6/29 18:15, Hekuang wrote:
>>> hi
>>>
在 2016/6/28 22:57, Alexei Starovoitov 写道:
return 0;
}
@@ -465,7 +465,7 @@ EXPOR
发自我的 iPhone
> 在 2016年6月24日,下午8:41,Arnaldo Carvalho de Melo 写道:
>
> Em Fri, Jun 24, 2016 at 02:29:07PM +0200, Jiri Olsa escreveu:
>> On Fri, Jun 24, 2016 at 11:22:05AM +, Wang Nan wrote:
>>> After converting perf.data to CTF, we lost pid-tid-comm mapping. Which
>>> makes inconvience. For ex
发自我的 iPhone
> 在 2016年6月24日,下午8:29,Jiri Olsa 写道:
>
>> On Fri, Jun 24, 2016 at 11:22:05AM +, Wang Nan wrote:
>> After converting perf.data to CTF, we lost pid-tid-comm mapping. Which
>> makes inconvience. For example, in perf script output we know which
>> process issue an event like this:
>
发自我的 iPhone
> 在 2016年6月23日,下午10:27,Nilay Vaish 写道:
>
>> On 23 June 2016 at 00:27, Wang Nan wrote:
>> @@ -542,6 +568,79 @@ static struct perf_event_header finished_round_event = {
>>.type = PERF_RECORD_FINISHED_ROUND,
>> };
>>
>> +static void
>> +record__toggle_overwrite_evsels(struct
发自我的 iPhone
> 在 2016年4月21日,上午3:23,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Apr 20, 2016 at 06:01:45PM +, Wang Nan escreveu:
>>
[SNIP]
>>
>> +if (prog->engine == ENGINE_UNKNOWN)
>> +prog->engine = ENGINE_KBPF;
>> +if (prog->engine != ENGINE_KBPF)
>
>else if (prog->e
发自我的 iPhone
> 在 2016年3月27日,下午11:20,Peter Zijlstra 写道:
>
> On Fri, Mar 25, 2016 at 10:14:36PM +0800, Wangnan (F) wrote:
I think you enabled some unusual config options?
>
> x86_64-defconfig
>
>>> You must enabled CONFIG_OPTIMIZE_INLINING. Now I get similar result:
>
> It has that indeed
发自我的 iPhone
> 在 2016年2月12日,下午10:23,Jiri Olsa 写道:
>
> On Fri, Feb 05, 2016 at 02:01:39PM +, Wang Nan wrote:
>
> SNIP
>
>>
>> +int parse_events__merge_arrays(struct parse_events_array *dest,
>> + struct parse_events_array *another)
>> +{
>> +struct parse_events_array
发自我的 iPhone
> 在 2016年2月12日,下午9:52,Jiri Olsa 写道:
>
>> On Fri, Feb 05, 2016 at 02:01:37PM +, Wang Nan wrote:
>> This patch allows setting config terms for raw and numeric events.
>> For example:
>>
>> # perf stat -e cycles/name=cyc/ ls
>> ...
>> 1821108 cyc
>> ...
>>
>> # perf stat -e
发自我的 iPhone
> 在 2015年12月18日,下午8:55,Daniel Wagner 写道:
>
>> On 12/18/2015 12:03 PM, Wangnan (F) wrote:
>> That's good. This is not a magic.
>
> That is what you say! :)
>
>> I guess something in your top makefile
>> causes this feature check failure. I sent a patch on feature checker to
>> you
发自我的 iPhone
> 在 2015年12月18日,下午6:57,Daniel Borkmann 写道:
>
>> On 12/18/2015 08:04 AM, Wangnan (F) wrote:
>> ...
>> What I want to do in this patchset is not only removing original libbpf.c
>> and bpf_load.c. In fact I want libbpf in tools/lib/bpf becomes a public
>> available library for other u
发自我的 iPhone
> 在 2015年12月11日,下午8:47,Arnaldo Carvalho de Melo 写道:
>
> Em Fri, Dec 11, 2015 at 08:39:35PM +0800, pi3orama escreveu:
>>
>>
>> 发自我的 iPhone
>>
>>> 在 2015年12月11日,下午8:15,Arnaldo Carvalho de Melo 写道:
>>>
>>> Em Fri
发自我的 iPhone
> 在 2015年12月11日,下午8:15,Arnaldo Carvalho de Melo 写道:
>
> Em Fri, Dec 11, 2015 at 09:11:45AM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Tue, Dec 08, 2015 at 02:25:37AM +, Wang Nan escreveu:
>>> This patch introduce a new syntax to perf event parser:
>>>
>>> # perf record -e
发自我的 iPhone
> 在 2015年12月11日,下午8:03,Arnaldo Carvalho de Melo 写道:
>
> Em Tue, Dec 08, 2015 at 02:25:34AM +, Wang Nan escreveu:
>> From: He Kuang
>>
>> This patch adds new bison rules for specifying an alias name to a perf
>> event, which allows cmdline refer to previous defined perf event
发自我的 iPhone
> 在 2015年11月18日,下午8:44,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Nov 18, 2015 at 07:32:38AM +0100, Ingo Molnar escreveu:
>> So considering the relatively large diffstat and the fact that we are 3 days
>> after
>> the closing of the merge window, I think we should separate this int
发自我的 iPhone
> 在 2015年11月17日,下午8:56,Arnaldo Carvalho de Melo 写道:
>
> Em Tue, Nov 17, 2015 at 08:32:46AM +, Wang Nan escreveu:
>> Two bugs in 'perf test BPF' are found when testing BPF prologue without
>> vmlinux:
>>
>> # mv /lib/modules/4.3.0-rc4+/build/vmlinux{,.bak}
>> # ./perf test BPF
发自我的 iPhone
> 在 2015年11月17日,下午8:42,Arnaldo Carvalho de Melo 写道:
>
> Em Tue, Nov 17, 2015 at 09:33:40AM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Tue, Nov 17, 2015 at 09:44:44AM +, Wang Nan escreveu:
>>
>> Thanks, applying.
>
> I take that back, I think this is questionable, we shou
发自我的 iPhone
> 在 2015年11月6日,下午10:03,Arnaldo Carvalho de Melo 写道:
>
> Em Fri, Nov 06, 2015 at 09:34:55PM +0800, Wangnan (F) escreveu:
>> On 2015/11/6 21:19, Arnaldo Carvalho de Melo wrote:
>>> Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu:
In dso__split_kallsyms_for_kcore(), c
发自我的 iPhone
> 在 2015年11月6日,下午9:59,Adrian Hunter 写道:
>
>> On 06/11/15 15:19, Arnaldo Carvalho de Melo wrote:
>> Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu:
>>> In dso__split_kallsyms_for_kcore(), current code adjusts symbol's
>>> address but only reinsert it into rbtree if the
发自我的 iPhone
> 在 2015年10月24日,上午12:58,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Oct 14, 2015 at 12:41:16PM +, Wang Nan escreveu:
>> This patch utilizes bpf_object__load() provided by libbpf to load all
>> objects into kernel.
>
> So, testing this, using that other proggie, I get;
>
> # per
发自我的 iPhone
> 在 2015年10月23日,下午9:51,Arnaldo Carvalho de Melo 写道:
>
> Em Fri, Oct 23, 2015 at 10:43:49AM +, Wang Nan escreveu:
>> Inherit bit is useless for a system wide evsel [1]. Further kernel
>> improvements are giving more constrain [2] on inherit events. This
>> patch set inherit bit
发自我的 iPhone
> 在 2015年10月21日,下午10:09,Peter Zijlstra 写道:
>
> On Wed, Oct 21, 2015 at 10:01:46PM +0800, pi3orama wrote:
>>> 在 2015年10月21日,下午9:49,Peter Zijlstra 写道:
>>>
>>>> On Wed, Oct 21, 2015 at 09:42:12PM +0800, Wangnan (F) wrote:
>>>
发自我的 iPhone
> 在 2015年10月21日,下午9:49,Peter Zijlstra 写道:
>
>> On Wed, Oct 21, 2015 at 09:42:12PM +0800, Wangnan (F) wrote:
>> How can an eBPF program access a !local event:
>>
>> when creating perf event array we don't care which perf event
>> is for which CPU, so perf program can access any per
发自我的 iPhone
> 在 2015年9月24日,上午10:05,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Sep 23, 2015 at 10:50:08PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Wed, Sep 23, 2015 at 01:03:19PM -0300, Arnaldo Carvalho de Melo escreveu:
>>> Em Tue, Sep 22, 2015 at 11:49:02PM -0300, Arnaldo Carvalho de Mel
发自我的 iPhone
> 在 2015年9月8日,下午9:13,Jiri Olsa 写道:
>
>> On Tue, Sep 08, 2015 at 04:12:55PM +0800, Wangnan (F) wrote:
>>
>>
>>> On 2015/9/8 15:37, Jiri Olsa wrote:
>>> On Mon, Sep 07, 2015 at 09:27:26PM +0800, Wangnan (F) wrote:
>>>
>>> SNIP
>>>
I found the problem.
perf relies
发自我的 iPhone
> 在 2015年9月3日,上午8:11,Namhyung Kim 写道:
>
> Hi,
>
>> On Sat, Aug 29, 2015 at 04:21:37AM +, Wang Nan wrote:
>> This patch allows linking dummy evsel onto evlist as a placeholder. It
>> is for following patch which allows passing BPF object using '--event
>> object.o'.
>>
>> Does
发自我的 iPhone
> 在 2015年9月2日,下午10:43,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Sep 02, 2015 at 10:04:21PM +0800, pi3orama escreveu:
>> 发自我的 iPhone
>>> 在 2015年9月2日,下午9:55,Arnaldo Carvalho de Melo 写道:
>>> Em Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama escreveu:
发自我的 iPhone
> 在 2015年9月2日,下午9:55,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Sep 02, 2015 at 08:05:54PM +0800, pi3orama escreveu:
>> 发自我的 iPhone
>>> 在 2015年9月2日,下午7:54,Jiri Olsa 写道:
>>>>> On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangn
发自我的 iPhone
> 在 2015年9月2日,下午7:54,Jiri Olsa 写道:
>
>> On Wed, Sep 02, 2015 at 02:53:58PM +0800, Wangnan (F) wrote:
>> Sorry, forget to CC kernel mailing list...
>>
>>> On 2015/9/2 14:49, Wang Nan wrote:
>>> If parse_events__scanner() collects no entry, perf_evlist__last(evlist)
>>> is invalid.
发自我的 iPhone
> 在 2015年9月2日,上午3:39,Arnaldo Carvalho de Melo 写道:
>
> Em Sat, Aug 29, 2015 at 04:21:55AM +, Wang Nan escreveu:
>> From: He Kuang
>>
>> This patch moves filter.h from include/linux/kernel.h to
>
> I said that before: this is not moving anything, it is copying :-)
>
>> tools/
发自我的 iPhone
> 在 2015年9月2日,上午4:21,Arnaldo Carvalho de Melo 写道:
>
> Em Tue, Sep 01, 2015 at 05:19:17PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Sat, Aug 29, 2015 at 04:22:01AM +, Wang Nan escreveu:
>>> From: He Kuang
>>>
>>> Make perf-record command support --vmlinux option if BPF_P
发自我的 iPhone
> 在 2015年8月14日,上午5:27,Alexei Starovoitov 写道:
>
>> On 7/20/15 8:08 PM, He Kuang wrote:
>> Hi,
>>
>> Previous patch v5 url:
>> http://thread.gmane.org/gmane.linux.kernel/1995274
>>
>> The bugfix of dynamic array length in trace event goes to
>> kernel/git/rostedt/linux-trace.git ft
发自我的 iPhone
> 在 2015年8月5日,上午12:11,Arnaldo Carvalho de Melo 写道:
>
> Em Tue, Aug 04, 2015 at 12:55:57PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Tue, Aug 04, 2015 at 06:39:39PM +0800, Wangnan (F) escreveu:
>
>>> https://github.com/WangNan0/linux.git ebpf
>
>> Ok, but I am checking patc
发自我的 iPhone
> 在 2015年8月3日,下午11:19,Arnaldo Carvalho de Melo 写道:
>
> Em Mon, Aug 03, 2015 at 12:07:28PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Mon, Aug 03, 2015 at 10:37:59AM +0800, Wangnan (F) escreveu:
>>> On 2015/8/1 4:31, Arnaldo Carvalho de Melo wrote:
Somehow it is not callin
Just for your information:
The buggy DW_AT_name seems to be a problem in assembler.
I built the C file using -S:
$ clang -target bpf -g -c -O2 test.c
Then in resuming test.s, replaced all BPF op by "nop";
Also adjust .file directive;
Then assemble the .s file using as:
$ as -c test.s -o test
发自我的 iPhone
> 在 2015年7月30日,上午1:13,Alexei Starovoitov 写道:
>
>> On 7/29/15 2:38 AM, He Kuang wrote:
>> Hi, Alexei
>>
>>> On 2015/7/28 10:18, Alexei Starovoitov wrote:
On 7/25/15 3:04 AM, He Kuang wrote:
I noticed that for 64-bit elf format, the reloc sections have
'Addend' in the
发自我的 iPhone
> 在 2015年7月18日,上午8:42,Alexei Starovoitov 写道:
>
>> On 7/17/15 4:27 PM, pi3orama wrote:
>> Then we also need another BPF_MAP_TYPE_PERF_EVENT_HASHMAP for events in task
>> context.
>
> hmm. why? don't see a use case yet.
An example: we want to
发自我的 iPhone
> 在 2015年7月18日,上午6:56,Alexei Starovoitov 写道:
>
>> On 7/17/15 3:43 AM, kaixu xia wrote:
>> There are many useful PMUs provided by X86 and other architectures. By
>> combining PMU, kprobe and eBPF program together, many interesting things
>> can be done. For example, by probing at sc
发自我的 iPhone
> 在 2015年7月17日,下午10:36,Steven Rostedt 写道:
>
>
> Is this dependent on patch 1? Because I'm not sure that's going to be
> the ending fix.
>
>
> On Fri, 17 Jul 2015 11:36:54 +0800
> "Wangnan (F)" wrote:
>
>> Here is a small problem in this patch that, it only updates
>> trace-ev
发自我的 iPhone
> 在 2015年7月17日,下午9:26,Peter Zijlstra 写道:
>
> On Fri, Jul 17, 2015 at 08:57:00PM +0800, pi3orama wrote:
>>>> But what if we really want cross-cpu PMU accessing? Impossible?
>>>
>>> Under the assumption that the eBPF program is called f
发自我的 iPhone
> 在 2015年7月17日,下午8:45,Peter Zijlstra 写道:
>
>> On Fri, Jul 17, 2015 at 08:27:43PM +0800, Wangnan (F) wrote:
>> I think we can check the limitation in BPF program.
>
> You typically do not want to rely on your program for correctness.
Sorry. NOT BPF program. What I want to express
发自我的 iPhone
> 在 2015年7月13日,下午10:09,Namhyung Kim 写道:
>
>> On Mon, Jul 13, 2015 at 10:01:26PM +0800, pi3orama wrote:
>>
>>
>> 发自我的 iPhone
>>
>>> 在 2015年7月13日,下午9:52,Namhyung Kim 写道:
>>>
>>> Hi,
>>>
>&g
发自我的 iPhone
> 在 2015年7月13日,下午9:52,Namhyung Kim 写道:
>
> Hi,
>
>> On Mon, Jul 13, 2015 at 12:36:27PM +0800, He Kuang wrote:
>> hi, Alexei
>>
>>> On 2015/7/11 6:10, Alexei Starovoitov wrote:
On 7/10/15 3:03 AM, He Kuang wrote:
There're scenarios that we need an eBPF program to record
发自我的 iPhone
> 在 2015年7月8日,下午10:03,Arnaldo Carvalho de Melo 写道:
>
> Em Wed, Jul 08, 2015 at 01:13:49PM +, Wang Nan escreveu:
>> Hi Arnaldo Carvalho de Melo,
>
> Hi Wang (hope this shorter form is ok on your country, calling me just
> "Arnaldo" is fine in mine :-))
>
>> I rearranged the
发自我的 iPhone
> 在 2015年7月6日,下午9:56,Arnaldo Carvalho de Melo 写道:
>
> Em Mon, Jul 06, 2015 at 04:17:31AM +, Wang Nan escreveu:
>> This patch allows passing perf's own PID to '--filter' by using
>> '@PERFPID'. This should be useful when system-widely capturing
>> tracepoints events.
>
> Steven
发自我的 iPhone
> 在 2015年6月13日,上午10:31,Alexei Starovoitov 写道:
>
>> On 6/11/15 10:35 PM, Wang Nan wrote:
>> # Path to clang. If omit, search it from $PATH.
>>clang-path = "/path/to/clang"
>
> I think this bit and search_program() from the next patch is
> overly flexible. It's always de
发自我的 iPhone
> 在 2015年6月13日,上午11:03,Alexei Starovoitov 写道:
>
>> On 6/12/15 7:52 PM, pi3orama wrote:
>>
>>
>> 发自我的 iPhone
>>
>>>> 在 2015年6月13日,上午10:31,Alexei Starovoitov 写道:
>>>>
>>>> On 6/11/15 10:35 PM, Wan
发自我的 iPhone
> 在 2015年6月13日,上午10:31,Alexei Starovoitov 写道:
>
>> On 6/11/15 10:35 PM, Wang Nan wrote:
>> # Path to clang. If omit, search it from $PATH.
>>clang-path = "/path/to/clang"
>
> I think this bit and search_program() from the next patch is
> overly flexible. It's always de
发自我的 iPhone
> 在 2015年6月4日,下午8:40,Ingo Molnar 写道:
>
>
> * Wangnan (F) wrote:
>
>>> So how do you generate the .o? Why cannot the tool, if it sees that the
>>> filter
>>> parameter is eBPF source code, do that automatically?
>>
>> I think compiling on the fly is our goal, and Alexei is wor
发自我的 iPhone
> 在 2015年4月1日,下午6:33,Wang Nan 写道:
>
> This patch introduces a --map-adjustment argument for perf report. The
> goal of this option is to deal with private dynamic loader used in some
> special program.
>
> Some programs write their private dynamic loader instead of glibc ld for
>
50 matches
Mail list logo