From: Yicong Yang <[email protected]>
This series contains several updates for PTT driver:
- Disable interrupt when trace stops, reverse to what we do in trace start
- Always handle the interrupt in hardirq context
- Optimize the AUX buffer handling to make consumer have more time to process
the data
- Since we're a uncore PMU so block any task attach operation
- Add a dummy pmu::read() callback since the perf core may use
Change since v1:
- Add Jonathan's tag, thanks
Link: https://lore.kernel.org/all/[email protected]/
Junhao He (1):
hwtracing: hisi_ptt: Add dummy callback pmu::read()
Yicong Yang (4):
hwtracing: hisi_ptt: Disable interrupt after trace end
hwtracing: hisi_ptt: Handle the interrupt in hardirq context
hwtracing: hisi_ptt: Optimize the trace data committing
hwtracing: hisi_ptt: Don't try to attach a task
drivers/hwtracing/ptt/hisi_ptt.c | 33 +++++++++++++++++++++-----------
drivers/hwtracing/ptt/hisi_ptt.h | 1 +
2 files changed, 23 insertions(+), 11 deletions(-)
--
2.24.0