[DTrace-devel] [PATCH] Record CPU that BEGIN and END probes run on in the 'state' BPF map

Eugene Loh eugene.loh at oracle.com
Tue Sep 8 08:45:20 PDT 2020


On 09/04/2020 11:41 PM, Kris Van Hees wrote:

> On Fri, Sep 04, 2020 at 10:12:25PM -0700, Eugene Loh wrote:
>> There should be some test here, but that also means pairing this patch
>> with something that makes the change observable and testable. So, hold
>> off on this patch until it's usable?
> It is harmless so no test would be required for this because it does not
> affect any functionality.  Once the recording of beganon and endedon gets
> used, that will get tests.  Or rather, we already have tests for that (and
> they are failing) so we'll see tests passing.

If a patch is not tested, it should not go in.  "Harmless" is too low a 
standard... in general, it feels like a different standard is being used 
for patches depending on who is submitting the patch. Just hold off 
until a complete patch(set) is ready.



More information about the DTrace-devel mailing list