15 Jun, 2016

1 commit

  • Adding --ldlat option to specify desired latency for loads event.

    Specify 50 as loads event latency:

    $ perf mem record -e ldlat-loads -v --ldlat 50 true
    calling: record -W -d -e cpu/mem-loads,ldlat=50/P true

    Signed-off-by: Jiri Olsa
    Cc: David Ahern
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1465928361-2442-2-git-send-email-jolsa@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     

30 Mar, 2016

1 commit

  • Add -U/-K (--all-user/--all-kernel) options to use the perf record
    --all-user/--all-kernel options.

    Signed-off-by: Jiri Olsa
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1458823940-24583-3-git-send-email-jolsa@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Jiri Olsa
     

22 Jan, 2015

1 commit

  • This patch modifies perf mem to default to sampling loads and stores
    simultaneously. It could only do one or the other before yet there was
    no hardware restriction preventing simultaneous collection. With this
    patch, one run is sufficient to collect both.

    It is still possible to sample only loads or stores by using the
    -t option:
    $ perf mem -t load rec
    $ perf mem -t load rep
    Or
    $ perf mem -t store rec
    $ perf mem -t store rep

    The perf report TUI will show one event at a time. The store output will
    contain a Weight column which will be empty.

    In V2, we updated the man pages to reflect the change and also simplify
    the initialization of the argv vector passed to the cmd_*() functions as
    per LKML feedback.

    In V3, we fixed typos in the changelog.

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: David Ahern
    Cc: Don Zickus
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Joe Mario
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Richard Fowles
    Link: http://lkml.kernel.org/r/20141217152355.GA10053@thinkpad
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     

14 Mar, 2014

1 commit

  • Clarify in the documentation that 'perf mem report' reports use-latency,
    not load/store-latency on Intel systems.

    This often causes confusion with users.

    Signed-off-by: Andi Kleen
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1393596135-4227-2-git-send-email-andi@firstfloor.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Andi Kleen
     

01 Apr, 2013

1 commit

  • This new command is a wrapper on top of perf record and perf report to
    make it easier to configure for memory access profiling.

    To record loads:
    $ perf mem -t load rec .....

    To record stores:
    $ perf mem -t store rec .....

    To get the report:
    $ perf mem -t load rep

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-15-git-send-email-eranian@google.com
    [ Fixed minor conflict with 66857b5 "Sort command-list.txt alphabetically" ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian