smdb.py: improvements to `smdb.py buf_size` and `smdb.py where`
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Dec 2013 11:33:28 +0000 (14:33 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Dec 2013 11:33:28 +0000 (14:33 +0300)
commitbeefca2f8e5bac2ebdef10f17c9db56f59ef0bee
treea1ec2a858d3ed926802c4256d21f2545e6cc393e
parent800d5d9780a507b8fb7ddcc97093004b0e2a9bee
smdb.py: improvements to `smdb.py buf_size` and `smdb.py where`

These two queries are basically the same now.

I have made it so you can look up by the member name without using the
name of the struct.  Some formatting cleanups as well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/smdb.py