Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8f7bc1a authored by Jin Yao's avatar Jin Yao Committed by Arnaldo Carvalho de Melo
Browse files

perf diff: Documentation -c cycles option



Documentation the new computation selection 'cycles'.

 v4:
 ---
 Change the column 'Block cycles diff [start:end]' to
 '[Program Block Range] Cycles Diff'

Signed-off-by: default avatarJin Yao <yao.jin@linux.intel.com>
Reviewed-by: default avatarJiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1561713784-30533-8-git-send-email-yao.jin@linux.intel.com


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent b10c78c5
Loading
Loading
Loading
Loading
+14 −3
Original line number Original line Diff line number Diff line
@@ -90,9 +90,10 @@ OPTIONS


-c::
-c::
--compute::
--compute::
        Differential computation selection - delta, ratio, wdiff, delta-abs
        Differential computation selection - delta, ratio, wdiff, cycles,
        (default is delta-abs).  Default can be changed using diff.compute
        delta-abs (default is delta-abs).  Default can be changed using
        config option.  See COMPARISON METHODS section for more info.
        diff.compute config option.  See COMPARISON METHODS section for
        more info.


-p::
-p::
--period::
--period::
@@ -280,6 +281,16 @@ If specified the 'Weighted diff' column is displayed with value 'd' computed as:
    - WEIGHT-A being the weight of the data file
    - WEIGHT-A being the weight of the data file
    - WEIGHT-B being the weight of the baseline data file
    - WEIGHT-B being the weight of the baseline data file


cycles
~~~~~~
If specified the '[Program Block Range] Cycles Diff' column is displayed.
It displays the cycles difference of same program basic block amongst
two perf.data. The program basic block is the code between two branches.

'[Program Block Range]' indicates the range of a program basic block.
Source line is reported if it can be found otherwise uses symbol+offset
instead.

SEE ALSO
SEE ALSO
--------
--------
linkperf:perf-record[1], linkperf:perf-report[1]
linkperf:perf-record[1], linkperf:perf-report[1]