commit | 52210c8745e418f82f3f0aeeee01d7bc4858812a | [log] [tgz] |
---|---|---|
author | Mathieu Poirier <mathieu.poirier@linaro.org> | Tue Feb 02 14:14:01 2016 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Feb 07 22:12:18 2016 -0800 |
tree | 9b9eb6173abfbc6735b15785c10d8f13f8121fa1 | |
parent | b15f0fb657e040401d875d11ae13b269af8a16e0 [diff] |
coresight: implementing 'cpu_id()' API Other than plainly parsing the device tree there is no way to know which CPU a tracer is affined to. As such adding an interface to lookup the CPU field enclosed in the etm_drvdata structure that was initialised at boot time. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>