Re: [PATCH] udevadm monitor --filter= with GL_PLAIN comparison

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

 



On Wed, Mar 18, 2009 at 20:34, Petr Lautrbach <plautrba@xxxxxxxxxx> wrote:
> My idea is to allow user to specify simple filters for monitoring udev events.
>
> Events are printed only if pass all of filters.
>
> There is only GL_PLAIN comparison now.
>
> e.g.:
> $ udevadm monitor --filter='SUBSYSTEM=="bluetooth"' --filter='ACTION!="add"'
>
> This command prints only events which match "bluetooth" SUBSYSTEM and ACTION other
> than "add".
>
> I'll be glad to hear your opinions

Funny. What are you using the monitor for, that you want to filter on
events? It's a pure debugging tool, and you usually need to see all
events in the sequence, like the parent devices coming and going.

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux