aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2022-07-24 11:03:25 +0300
committerDavid S. Miller <[email protected]>2022-07-25 13:58:55 +0100
commit9468322963894fd7a6138f9bfe3aca88129738d8 (patch)
tree3df514deba5e1d9d1126aad49c400999cb6fe64f /tools/perf/scripts/python/event_analyzing_sample.py
parent22d950b79ea70b69386b3b131051fbe22f065bdf (diff)
mlxsw: pci: Simplify FRC clock reading
Currently, the reading of FRC values (high and low) is done using macro which calls to a function. In addition, to calculate the offset of FRC, a simple macro is used. This code can be simplified by adding an helper function and calculating the offset explicitly instead of using an additional macro for that. Add the helper function and convert the existing code. This helper will be used later to read UTC clock. Signed-off-by: Amit Cohen <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions