Re: [PATCH] perf tools: Fix static building

2016-08-31 Thread Jiri Olsa
On Mon, Aug 22, 2016 at 08:33:42PM +0300, Alexey Brodkin wrote: > With commit e3d09ec8126f ("tools lib traceevent: Export dynamic symbols > used by traceevent plugins") we started to add "--dynamic-list" in > LDFLAGS. One side-effect of that was inability to build really > statically-linked perf.

Re: [PATCH] perf tools: Fix static building

2016-08-31 Thread Jiri Olsa
On Mon, Aug 22, 2016 at 08:33:42PM +0300, Alexey Brodkin wrote: > With commit e3d09ec8126f ("tools lib traceevent: Export dynamic symbols > used by traceevent plugins") we started to add "--dynamic-list" in > LDFLAGS. One side-effect of that was inability to build really > statically-linked perf. >

Re: [PATCH] arc: perf: Enable generic "cache-references" and "cache-misses" events

2016-08-31 Thread Vineet Gupta
On 08/26/2016 10:31 AM, Vineet Gupta wrote: > On 08/25/2016 04:49 AM, Alexey Brodkin wrote: >> ... >> [PERF_COUNT_ARC_EDTLB] = "edtlb", /* D-TLB Miss */ >> [PERF_COUNT_ARC_EITLB] = "eitlb", /* I-TLB Miss */ >> + >> +[PERF_COUNT_HW_CACHE_REFERENCES] = "imemrdc", /* Instr: