lkml.org 
[lkml]   [2013]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] perf: add two new features
Date
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



\
 
 \ /
  Last update: 2013-06-28 15:21    [W:0.115 / U:8.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site