generic software counters -v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 26 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | sched: remove extra call overhead for schedule()kernel/ kernel/ | +7 | 2 replies | |
| 2/11 | hrtimer: fix rq->lock inversion (again)include/ kernel/ kernel/ +1 more | +50 | 5 replies | |
| 3/11 | perf_counter: x86: fix 32bit irq_period assumption.arch/ | +1 | 2 replies | |
| 4/11 | perf_counter: use list_move_tailkernel/ | +2 | 2 replies | |
| 5/11 | perf_counter: add comment to barrierarch/ | +4 | 2 replies | |
| 6/11 | perf_counter: x86: use ULL postfix for 64bit constantsarch/ | +6 | 2 replies | |
| 7/11 | perf_counter: software counter event infrastructureinclude/ kernel/ | +207 | 2 replies | |
| 8/11 | perf_counter: provide pagefault software eventsarch/ arch/ kernel/ | +9 | 2 replies | |
| 9/11 | perf_counter: provide major/minor page fault software eventsarch/ arch/ include/ +1 more | +21 | 2 replies | |
| 10/11 | perf_counter: hrtimer based sampling for software time eventsinclude/ kernel/ | +100 | 4 replies | |
| 11/11 | perf_counter: add an event_listinclude/ kernel/ | +23 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] generic software counters -v2
This patch set improves the current software counters by providing sampling events for most of them.
The clock based software counters use hrtimers to generate events, allowing sample based profiling without hardware support -- obviously this has limited functionality for kernal based profiling since we disable interrupts quite frequently, but should be good for userspace.
Other events like pagefaults insert simple hooks into the actual pagefault code to generate these events.
Future work (in-progress) will hook into the tracepoint infrastructure to to provide profiling events.