[PATCH V5 05/16] perf, core: pmu specific data for perf task context

2014-09-10 Thread kan . liang
From: Kan Liang 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 sta

[PATCH V5 05/16] perf, core: pmu specific data for perf task context

2014-09-09 Thread kan . liang
From: Kan Liang 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 sta

[PATCH v5 05/16] perf, core: pmu specific data for perf task context

2014-07-06 Thread Yan, Zheng
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