func (d *domainClient) RequestMemoryDump(ctx context.Context) (reply *RequestMemoryDumpReply, err error) {
	reply = new(RequestMemoryDumpReply)
	err = rpcc.Invoke(ctx, "Tracing.requestMemoryDump", nil, reply, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "Tracing", Op: "RequestMemoryDump", Err: err}
	}
	return
}
RequestMemoryDump invokes the Tracing method. Request a global memory dump.
package tracing
import (
	"context"
	"github.com/mafredri/cdp/protocol/internal"
	"github.com/mafredri/cdp/rpcc"
)
type domainClient struct{ conn *rpcc.Conn }
func NewClient(conn *rpcc.Conn) *domainClient {
	return &domainClient{conn: conn}
}
func (d *domainClient) End(ctx context.Context) (err error) {
	err = rpcc.Invoke(ctx, "Tracing.end", nil, nil, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "Tracing", Op: "End", Err: err}
	}
	return
}
func (d *domainClient) GetCategories(ctx context.Context) (reply *GetCategoriesReply, err error) {
	reply = new(GetCategoriesReply)
	err = rpcc.Invoke(ctx, "Tracing.getCategories", nil, reply, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "Tracing", Op: "GetCategories", Err: err}
	}
	return
}
func (d *domainClient) RecordClockSyncMarker(ctx context.Context, args *RecordClockSyncMarkerArgs) (err error) {
	if args != nil {
		err = rpcc.Invoke(ctx, "Tracing.recordClockSyncMarker", args, nil, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "Tracing.recordClockSyncMarker", nil, nil, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "Tracing", Op: "RecordClockSyncMarker", Err: err}
	}
	return
}