RE: [RDMA for-next V3 3/6] IB/MAD: Add agent trace points

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +DECLARE_EVENT_CLASS(ib_mad_agent_template,
> > +	TP_PROTO(struct ib_mad_agent_private *agent),
> > +	TP_ARGS(agent),
> > +
> > +	TP_STRUCT__entry(
> > +		__string(dev_name,      agent->agent.device->name)
> 
> I'm trying to get rid of device->name, this should be
> dev_name(&device->dev)
> 
> Though, should it use the stable device index instead?

Both good points.  My excuse is me basing them off my old work and not having correlated the upstream discussions with these patches...  I'll respin with the device index as that is most unique.

I still think there needs to be 'super easy' device index to name decoding...  But I'm not really up on what has been done so forgive me if it is there.

Ira




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux