08 Mar, 2016

1 commit

  • Commit b9511cd761fa ("perf/x86: Fix time_shift in perf_event_mmap_page")
    altered the time conversion algorithms documented in the perf_event.h
    header file, to use 64-bit shifts. That was done to make the code more
    future-proof (i.e. some time in the future a 32-bit shift could be
    allowed). Reflect those changes in perf tools.

    Signed-off-by: Adrian Hunter
    Signed-off-by: Arnaldo Carvalho de Melo
    Cc: Alexander Shishkin
    Cc: David Ahern
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/1457005856-6143-9-git-send-email-adrian.hunter@intel.com
    Signed-off-by: Ingo Molnar

    Adrian Hunter
     

23 Jul, 2014

1 commit

  • Move the rdtsc() function so it can be reusued.

    Signed-off-by: Adrian Hunter
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1406035081-14301-24-git-send-email-adrian.hunter@intel.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Adrian Hunter
     

17 Jul, 2014

1 commit

  • It is possible to record a perf.data file on one architecture and
    process it on another.

    Consequently, TSC conversion functions need to be moved out of the arch
    directory.

    Signed-off-by: Adrian Hunter
    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1405332185-4050-40-git-send-email-adrian.hunter@intel.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Adrian Hunter