No timestamps in polygraph-ltrace output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Polygraph |
New
|
Undecided
|
Unassigned |
Bug Description
There are no timestamps in polygraph-ltrace output, however they are expected to be there according to documentation (http://
"The --time_unit option has two effects: ltrace uses time since test start when reporting timestamps and that relative time is reported in the specified units or scale. By default, absolute time (seconds since Unix epoch) is reported."
Steps to reproduce:
1. Obtain any log from polygraph test.
2. Run polygraph-ltrace --side clt --objects ok_xact.count --win_len 1min client.log .
>#ok_xact.count
>44907
>62275
>62307
>62505
>43167
Expected:
Output must contain timestamps.
Versions affected:
Reproducible using at least versions 4.3.2, 4.6.0 and 4.7.0
I've attached sample log file for 4.3.2.
description: | updated |
The options descriptions may not be very clear, but I do not think it is meant to imply that timestamps are reported if --time_unit option is used. It only describes what happens to those timestamps IF they are reported. To make ltrace actually report timestamps, you probably should use the --objects parameter, just like with any other statistics.
You may want to check that time reporting (when enabled) matches the description.
We should polish the wording so this bug report should probably remain open even if time reporting is correct.