| Date | Tue, 6 Sep 2022 21:53:45 -0700 | | From | Ira Weiny <> | | Subject | Re: [RFC PATCH 1/9] cxl/mem: Implement Get Event Records command |
| |
On Wed, Aug 17, 2022 at 03:54:15PM -0700, Jiang, Dave wrote: >
[snip]
> > + > > +/* > > + * Now redefine the EM and EMe macros to map the enums to the strings that will > > + * be printed in the output > > + */ > > +#undef EM > > +#undef EMe > > +#define EM(a, b) {a, b}, > > +#define EMe(a, b) {a, b} > > + > > +TRACE_EVENT(cxl_event_overflow, > > Kind of a general comment for the event names. Maybe just "overflow" instead > of "cxl_event_overflow" since it shows up in sysfs under the cxl_events > directory and becomes redundant?
It is redundant for sure... The problem is that trace_overflow() is pretty generic but I think it will work.
Ira
> > - Dave >
|