BPF(9): Fix timestamps

This commit is contained in:
Sebastian Huber 2019-03-28 11:34:10 +01:00
parent 481397ff24
commit 616e1d4cf7

View File

@ -2460,6 +2460,7 @@ bpf_bintime2ts(struct bintime *bt, struct bpf_ts *ts, int tstype)
if ((tstype & BPF_T_MONOTONIC) == 0) {
bt2 = *bt;
getboottimebin(&boottimebin);
bintime_add(&bt2, &boottimebin);
bt = &bt2;
}