commit | e0dd210cea36972a6f566b9b49d8f0c33340df99 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Apr 29 11:59:02 2020 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 29 11:59:02 2020 +0200 |
tree | a2b095192d9021d14c8ae24c37a380edb579aec4 | |
parent | eae837295d1f63ea46530a4f77108739f04a83c7 [diff] |
BUG/MEDIUM: sample: make the CPU and latency sample fetches check for a stream cpu_calls, cpu_ns_avg, cpu_ns_tot, lat_ns_avg and lat_ns_tot depend on the stream to find the current task and must check for it or they may cause a crash if misused or used in a log-format string after commit 5f940703b3 ("MINOR: log: Don't depends on a stream to process samples in log-format string"). This must be backported as far as 1.9.