Re: [GIT PULL] tracing/samples: Fix creation and deletion of simple_thread_fn creation

From: Steven Rostedt
Date: Sun Oct 29 2017 - 16:17:54 EST


On Fri, 27 Oct 2017 20:35:09 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Fri, Oct 27, 2017 at 6:15 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > I'll write up a fix on the plane home on Saturday. Expect something by
> > Sunday.
>
> I'll change the "bool" to "int" in the meanwhile, getting rid of the warning.
>
> That may be what you meant in the first place.
>

Yes it was. The first iteration just did the bool, then I realized I
needed a counter, and changed it to do counting. I simply forgot to
convert the bool to an int.

That should be all that needs to be done.

Thanks!

-- Steve