perf: add two new features
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf: fix broken union in perf_event_mmap_pageinclude/ | +5 | 25 replies | |
| 2/5 | x86: add ability to calculate TSC from perf sample timestampsarch/ arch/ arch/ +1 more | +33 | 0 replies | |
| 3/5 | perf tools: add test for converting perf time to/from TSCtools/ tools/ tools/ +4 more | +268 | 0 replies | |
| 4/5 | perf: add 'keep tracking' flag to PERF_EVENT_IOC_DISABLEinclude/ include/ kernel/ | +21 | 0 replies | |
| 5/5 | perf tools: add 'keep tracking' testtools/ tools/ tools/ +3 more | +211 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Adrian Hunter |
|---|---|
| 1/5 | Also-Fixed-by |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] perf: add two new features
Hi
Please consider these two new perf features:
x86: add ability to calculate TSC from perf sample timestamps
perf: add 'keep tracking' flag to PERF_EVENT_IOC_DISABLE
This is also a minor fix:
perf: fix broken union in perf_event_mmap_page
And tests in perf tools:
perf tools: add test for converting perf time to/from TSC perf tools: add 'keep tracking' test
Adrian Hunter (5):
perf: fix broken union in perf_event_mmap_page
x86: add ability to calculate TSC from perf sample timestamps perf tools: add test for converting perf time to/from TSC
perf: add 'keep tracking' flag to PERF_EVENT_IOC_DISABLE perf tools: add 'keep tracking' test
arch/x86/include/asm/tsc.h | 1 + arch/x86/kernel/cpu/perf_event.c | 6 ++ arch/x86/kernel/tsc.c | 6 ++ include/linux/perf_event.h | 1 + include/uapi/linux/perf_event.h | 29 +++++- kernel/events/core.c | 21 ++++- tools/perf/Makefile | 4 + tools/perf/arch/x86/Makefile | 2 + tools/perf/arch/x86/util/tsc.c | 59 ++++++++++++ tools/perf/arch/x86/util/tsc.h | 20 ++++ tools/perf/tests/builtin-test.c | 10 ++ tools/perf/tests/keep-tracking.c | 168 ++++++++++++++++++++++++++++++++++ tools/perf/tests/perf-time-to-tsc.c | 177 ++++++++++++++++++++++++++++++++++++ tools/perf/tests/tests.h | 2 + tools/perf/util/evlist.c | 32 +++++++ tools/perf/util/evlist.h | 5 + 16 files changed, 537 insertions(+), 6 deletions(-) create mode 100644 tools/perf/arch/x86/util/tsc.c create mode 100644 tools/perf/arch/x86/util/tsc.h create mode 100644 tools/perf/tests/keep-tracking.c create mode 100644 tools/perf/tests/perf-time-to-tsc.c
Regards
Adrian