[PATCH 11/14] perf, core: Pass perf_sample_data to perf_callchain()

2014-01-02 Thread Yan, Zheng
Haswell has a new feature that utilizes the existing Last Branch Record facility to record call chains. When the feature is enabled, function call will be collected as normal, but as return instructions are executed the last captured branch record is popped from the on-chip LBR registers. The LBR

[PATCH 11/14] perf, core: Pass perf_sample_data to perf_callchain()

2014-01-02 Thread Yan, Zheng
Haswell has a new feature that utilizes the existing Last Branch Record facility to record call chains. When the feature is enabled, function call will be collected as normal, but as return instructions are executed the last captured branch record is popped from the on-chip LBR registers. The LBR