attr

Function

def attr(self, key, value)

Function Description

Adds an attribute and returns the current object. Chain calls are supported. The tool parses the attribute into trace data and shows it in args.

Input

key: attribute name.

value: attribute value.

Return Value

The profiler returns the current object. Chain calls are supported.