Really fix the relative timestamp bug. It was only incorrect for the ALQ
case. It seems entries are in reverse order when read from the kernel memory but in the right order when read from a file (i.e. ALQ). Handle both cases. MFC after: 1 day
This commit is contained in:
parent
fb504bef5c
commit
ee574da534
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153270
@ -253,7 +253,8 @@ main(int ac, char **av)
|
|||||||
if (rflag) {
|
if (rflag) {
|
||||||
if (tlast == -1)
|
if (tlast == -1)
|
||||||
tlast = tnow;
|
tlast = tnow;
|
||||||
fprintf(out, "%16ju ", tnow - tlast);
|
fprintf(out, "%16ju ", !iflag ? tlast - tnow :
|
||||||
|
tnow - tlast);
|
||||||
tlast = tnow;
|
tlast = tnow;
|
||||||
} else
|
} else
|
||||||
fprintf(out, "%16ju ", tnow);
|
fprintf(out, "%16ju ", tnow);
|
||||||
|
Loading…
Reference in New Issue
Block a user