Re: [PATCH v2 01/12] libtracefs: Add new internal APIs for dynamic events

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

 



On Mon, Nov 1, 2021 at 7:06 PM Yordan Karadzhov <y.karadz@xxxxxxxxx> wrote:
>
>
[ ... ]
> > +
> > +#define DYNEVENTS_EVENTS "dynamic_events"
> > +#define KPROBE_EVENTS "kprobe_events"
>
> A definition of KPROBE_EVENTS already exists in /utest/tracefs-utest.c and src/tracefs-kprobes.c
>
> Isn't better to move the whole group of definitions of filenames to include/tracefs-local.h?

The unit test should use only the official library API, defined in
tracefs.h. We could move these defines in the official API header, but
I think these should be internal to the library.

>
> Thanks!
> Yordan
>
[...]



-- 
Tzvetomir (Ceco) Stoyanov
VMware Open Source Technology Center



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

  Powered by Linux