// Code generated by lab.nexedi.com/kirr/go123/tracing/cmd/gotrace; DO NOT EDIT.

package proto
// code generated for tracepoints

import (
	"lab.nexedi.com/kirr/go123/tracing"
	"unsafe"
)

// traceevent: traceClusterStateChanged(cs *ClusterState)

type _t_traceClusterStateChanged struct {
	tracing.Probe
	probefunc     func(cs *ClusterState)
}

var _traceClusterStateChanged *_t_traceClusterStateChanged

func traceClusterStateChanged(cs *ClusterState) {
	if _traceClusterStateChanged != nil {
		_traceClusterStateChanged_run(cs)
	}
}

func _traceClusterStateChanged_run(cs *ClusterState) {
	for p := _traceClusterStateChanged; p != nil; p = (*_t_traceClusterStateChanged)(unsafe.Pointer(p.Next())) {
		p.probefunc(cs)
	}
}

func traceClusterStateChanged_Attach(pg *tracing.ProbeGroup, probe func(cs *ClusterState)) *tracing.Probe {
	p := _t_traceClusterStateChanged{probefunc: probe}
	tracing.AttachProbe(pg, (**tracing.Probe)(unsafe.Pointer(&_traceClusterStateChanged)), &p.Probe)
	return &p.Probe
}

// trace export signature
func _trace_exporthash_20c3e52fbfabe08e304139ab4a6bbf7c569f0994() {}
