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