Re: [PATCH v4 5/7] libtracefs: Implement tracefs_kprobe_clear_all() to remove all kprobes

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

 



On Fri, 2 Jul 2021 14:15:44 +0300
"Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote:

> > diff --git a/src/tracefs-kprobes.c b/src/tracefs-kprobes.c
> > index e875d6e8a65f..fe61a25baa10 100644
> > --- a/src/tracefs-kprobes.c
> > +++ b/src/tracefs-kprobes.c
> > @@ -169,3 +169,106 @@ char **tracefs_get_kprobes(void)
> >   	list = NULL;
> >   	goto out;
> >   }
> > +
> > +struct instance_list {
> > +	struct instance_list	*next;
> > +	struct tracefs_instance	*instance;
> > +};  
> 
> This is not used in this source file. I see that it was moved to 
> tracefs-instance.c

Internally, this was my fourth iteration between v2 and v3, and I kept
finding "better" ways to write this code. This was left over from one
of those iterations.

I'll nuke it. Thanks!

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux