On Wed, Feb 9, 2022 at 8:49 AM Yonghong Song <yhs@xxxxxx> wrote: > > + > > +static inline __u64 skel_prep_init_value(void **addr, size_t mmap_sz, size_t val_sz) > > +{ > > + return (__u64) (long) *addr; > > +} > > The above is user space lskel definition for skel_prep_init_value. > Below the kernel space lskel definition: > > +static inline __u64 skel_prep_init_value(void **addr, size_t mmap_sz, > size_t val_sz) > +{ > + return (__u64) (long) *addr; > +} > > First they are identical and second this function is simple enough can > we do actual inlining during lskel code generation? Sure. Will do.