Re: Checking to see if a bit is _not_ set in a ftrace event filter

From: Steven Rostedt
Date: Mon Dec 01 2014 - 22:57:32 EST


On Mon, 1 Dec 2014 19:52:11 -0800
Alexei Starovoitov <ast@xxxxxxxxxxxx> wrote:

> yeah. teaching tree walk to do (state & 2048) == 0 is not trivial,
> since it doesn't have a concept of value of expression.
> Doing !(state & 2048) is probably a bit easier, since there
> are hacks for 'not' already.

That's exactly what I was looking at doing. If I can get something
working without spending more than an hour or two, I may even push it
for this release cycle.

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/