Re: [PATCH 3/4] perf tools: Fix probing the kernel API with cpu-wide events

2014-08-12 Thread Adrian Hunter
On 08/13/2014 08:37 AM, Namhyung Kim wrote: > On Tue, 12 Aug 2014 18:04:30 +0300, Adrian Hunter wrote: >> Fall back to probing with the current pid if cpu-wide >> probing fails. This primarily affects the setting of >> comm_exec flag when the user is un-privileged and >> /proc/sys/kernel/perf_even

Re: [PATCH 3/4] perf tools: Fix probing the kernel API with cpu-wide events

2014-08-12 Thread Namhyung Kim
On Tue, 12 Aug 2014 18:04:30 +0300, Adrian Hunter wrote: > Fall back to probing with the current pid if cpu-wide > probing fails. This primarily affects the setting of > comm_exec flag when the user is un-privileged and > /proc/sys/kernel/perf_event_paranoid > 0. The change > to comm_exec can be

[PATCH 3/4] perf tools: Fix probing the kernel API with cpu-wide events

2014-08-12 Thread Adrian Hunter
Fall back to probing with the current pid if cpu-wide probing fails. This primarily affects the setting of comm_exec flag when the user is un-privileged and /proc/sys/kernel/perf_event_paranoid > 0. The change to comm_exec can be observed by using -vv with perf record and a kernel that supports c