Re: [PATCH] db/smdb: add info command with type filtering

Andrew Murray <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
On Fri, Jun 21, 2019 at 05:53:02PM +0300, Dan Carpenter wrote:
> On Fri, Jun 21, 2019 at 11:18:42AM +0100, Andrew Murray wrote:
> > @@ -612,13 +619,6 @@ elif sys.argv[1] == "call_info":
> >      func = sys.argv[3]
> >      caller_info_values(filename, func)
> >      print_caller_info(filename, func)
> > -elif sys.argv[1] == "user_data":
> > -    func = sys.argv[2]
> > -    filename = sys.argv[3]

The patch didn't apply because my local tree had this line ^^ in.

> > -    print_caller_info(filename, func, "USER_DATA")
> > -elif sys.argv[1] == "param_value":
> > -    func = sys.argv[2]
> > -    print_caller_info(filename, func, "PARAM_VALUE")
> >  elif sys.argv[1] == "function_ptr" or sys.argv[1] == "fn_ptr":
> >      func = sys.argv[2]
> >      print_fn_ptrs(func)
> 
> Somehow this chunk didn't apply at all but I did it manually.

I messed up when making the patch.

Thanks,

Andrew Murray

> 
> Applied.
> 
> regards,
> dan carpenter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.