oprofile: implement support of samples with variable data size
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | oprofile: add op_cpu_buffer_write_reserve()drivers/ drivers/ | +37 | 0 replies | |
| 2/9 | oprofile: modify op_cpu_buffer_read_entry()drivers/ drivers/ drivers/ | +25 | 0 replies | |
| 3/9 | oprofile: rework implementation of cpu buffer eventsarch/ drivers/ drivers/ +1 more | +106 | 0 replies | |
| 4/9 | oprofile: add op_cpu_buffer_add_data()drivers/ drivers/ | +13 | 0 replies | |
| 5/9 | oprofile: add op_cpu_buffer_get_data()drivers/ drivers/ | +24 | 0 replies | |
| 6/9 | oprofile: use new data sample format for ibsarch/ drivers/ drivers/ +1 more | +76 | 0 replies | |
| 7/9 | ring_buffer: fix ring_buffer_event_length()kernel/ | +7 | 0 replies | |
| 8/9 | oprofile: remove #ifdef CONFIG_OPROFILE_IBS in non-ibs codedrivers/ drivers/ | +0 | 0 replies | |
| 9/9 | oprofile: make new cpu buffer functions part of the apiarch/ drivers/ drivers/ +1 more | +57 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] oprofile: implement support of samples with variable data size
This patch series implements support of samples with variable data size. Current implementation has a fixed sample size of 2 unsigned longs. This makes it hard to implement use cases with a different sample size (AMD IBS or power pc cell) since buffer locking is required or samples my become incomplete. The internal cpu buffer usage has been changed now and allows the attachment of data with varable length to samples.
There are patches that also change the current ibs implementation. In the end the ibs implentation could be removed from the general oprofile code to model specific code. An API is available that provides generic functions to use variable sample sizes.
The patches are also available here:
git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git oprofile-for-tip
-Robert