samples/damon/wsse: start and stop DAMON as the user requests
authorSeongJae Park <sj@kernel.org>
Tue, 10 Dec 2024 21:50:27 +0000 (13:50 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 14 Jan 2025 06:40:57 +0000 (22:40 -0800)
commitb757c6cfc696d43501632861f731412b14a7be86
tree3bacd98a12cf3f11cd379cee094edec4d4a23bf9
parent19d7c3adfdd4adbd286429849ac22ce9cce32477
samples/damon/wsse: start and stop DAMON as the user requests

Start running DAMON to monitor accesses of a process that the user
specified via 'target_pid' parameter, when 'y' is passed to 'enable'
parameter.  Stop running DAMON when 'n' is passed to 'enable' parameter.
Estimating the working set size from DAMON's monitoring results and
reporting it to the user will be implemented by the following commit.

Link: https://lkml.kernel.org/r/20241210215030.85675-3-sj@kernel.org
Signed-off-by: SeongJae Park <sj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
samples/damon/wsse.c