Re: [PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread SeongJae Park
From: SeongJae Park On Tue, 30 Mar 2021 09:59:50 + SeongJae Park wrote: > From: SeongJae Park > > On Tue, 30 Mar 2021 11:22:45 +0200 Greg KH wrote: > > > On Tue, Mar 30, 2021 at 09:05:31AM +, sj38.p...@gmail.com wrote: > > > +static int __init __damon_dbgfs_init(void) > > > +{ > > >

Re: [PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread SeongJae Park
From: SeongJae Park On Tue, 30 Mar 2021 11:22:45 +0200 Greg KH wrote: > On Tue, Mar 30, 2021 at 09:05:31AM +, sj38.p...@gmail.com wrote: > > +static int __init __damon_dbgfs_init(void) > > +{ > > + struct dentry *dbgfs_root; > > + const char * const file_names[] = {"monitor_on"}; > > +

Re: [PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread Greg KH
On Tue, Mar 30, 2021 at 09:05:31AM +, sj38.p...@gmail.com wrote: > +static int __init __damon_dbgfs_init(void) > +{ > + struct dentry *dbgfs_root; > + const char * const file_names[] = {"monitor_on"}; > + const struct file_operations *fops[] = {&monitor_on_fops}; > + int i; > +