[DTrace-devel] [PATCH 3/3] test: Mimic dtrace arithmetic more closely for avg/stddev
Nick Alcock
nick.alcock at oracle.com
Wed Jul 16 13:22:53 UTC 2025
On 1 May 2025, eugene loh stated:
> From: Eugene Loh <eugene.loh at oracle.com>
>
> The multicpus test checks that data from multiple CPUs is aggregated
> properly. Operations like avg() and stddev() require division.
> DTrace uses integer division, while awk does not.
Oops!
> for example, CPUs are not numbered consecutively. More typically,
> there may be a problem that the profile probe is not firing on every
> expected CPU. So a test failure probably was a sign of a problem,
> but that's a different problem, one beyond the scope of this test.
... is there anything else that tests for those other problems?
> Signed-off-by: Eugene Loh <eugene.loh at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
More information about the DTrace-devel
mailing list