diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2014-11-05 05:56:01 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-02-18 19:16:05 +0300 |
commit | 4af57ef28c2c1047fda9e1a5be02aa7a6a69cf9e (patch) | |
tree | d186ebdcb589686170bfac7dc97b5d1c613dab9c /usr | |
parent | e9d7f7cd97c45e2c612d3b38be05b4cfb27939ee (diff) | |
download | linux-4af57ef28c2c1047fda9e1a5be02aa7a6a69cf9e.tar.xz |
perf: Add pmu specific data for perf task context
Introduce a new flag PERF_ATTACH_TASK_DATA for perf event's attach
stata. The flag is set by PMU's event_init() callback, it indicates
that perf event needs PMU specific data.
The PMU specific data are initialized to zeros. Later patches will
use PMU specific data to save LBR stack.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: eranian@google.com
Cc: jolsa@redhat.com
Link: http://lkml.kernel.org/r/1415156173-10035-6-git-send-email-kan.liang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions