Re: [patch 4/4] Port of blktrace to the Linux Kernel Markers.

Mathieu Desnoyers
2007-09-21T13:51:30Z

* Steven Rostedt (rostedt@goodmis.org) wrote:
> On Tue, Sep 18, 2007 at 05:13:28PM -0400, Mathieu Desnoyers wrote:
> > +void blk_probe_disarm(void)
> > +{
> > + int i, err;
> > +
> > + for (i = 0; i < ARRAY_SIZE(probe_array); i++) {
> > + err = marker_disarm(probe_array[i].name);
> > + BUG_ON(err);
> > + err = IS_ERR(marker_probe_unregister(probe_array[i].name));
> > + BUG_ON(err);
> > + }
> > +}
>
> As well as changing these to WARN_ON.
>
Yep.

> -- Steve
>