MCPcopy Create free account
hub / github.com/dtrace4linux/linux / dt_attr_cmp

Function dt_attr_cmp

libdtrace/dt_subr.c:347–353  ·  view source on GitHub ↗

* Compare two attributes and return an integer value in the following ranges: * * <0 if any of a1's attributes are less than a2's attributes * =0 if all of a1's attributes are equal to a2's attributes * >0 if all of a1's attributes are greater than or equal to a2's attributes * * To implement this function efficiently, we subtract a2's attributes from * a1's to obtain a negative result if a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dt_node_attr_assignFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected