From: Adrian Hunter Date: Fri, 28 Jun 2013 13:22:19 +0000 (+0300) Subject: perf tools: Add test for converting perf time to/from TSC X-Git-Tag: v3.12-rc1~168^3~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bd5a5fc8c6b9fe769777abf74b0ab5fbd7930b4;p=pandora-kernel.git perf tools: Add test for converting perf time to/from TSC The test uses the newly added cap_usr_time_zero and time_zero of perf_event_mmap_page. TSC from rdtsc is compared with the time from 2 perf events. The test passes if the calculated times are all in the correct order. Signed-off-by: Adrian Hunter Signed-off-by: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1372425741-1676-4-git-send-email-adrian.hunter@intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed