diff options
| author | Gerhard Engleder <[email protected]> | 2022-05-06 22:01:39 +0200 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-05-10 09:48:08 +0200 |
| commit | d58809d854c9ee19e4cd41023e137e65e9dc3f94 (patch) | |
| tree | f86bb3e845ae311198669bfc90f2f0d4b1a4f3d7 /tools/perf/scripts/python/futex-contention.py | |
| parent | 51eb7492af276b5b4d27cfa4474d40bdac7b9cf8 (diff) | |
ptp: Pass hwtstamp to ptp_convert_timestamp()
ptp_convert_timestamp() converts only the timestamp hwtstamp, which is
a field of the argument with the type struct skb_shared_hwtstamps *. So
a pointer to the hwtstamp field of this structure is sufficient.
Rework ptp_convert_timestamp() to use an argument of type ktime_t *.
This allows to add additional timestamp manipulation stages before the
call of ptp_convert_timestamp().
Signed-off-by: Gerhard Engleder <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions