Lines Matching full:files
19 features by reading from and writing to special sysfs files. Therefore,
21 reads/writes the sysfs files instead of you. The `DAMON user space tool
42 creates multiple directories and files under its sysfs directory,
44 from the files under the directory.
56 Files Hierarchy
59 The files hierarchy of DAMON sysfs interface is shown below. In the below
61 directory is having ``/`` suffix, and files in each directory are separated by
101 has one directory named ``admin``. The directory contains the files for
112 Under the ``admin`` directory, one directory, ``kdamonds``, which has files for
121 In each kdamond directory, two files (``state`` and ``pid``) and one directory
127 user inputs in the sysfs files except ``state`` file again. Writing
128 ``update_schemes_stats`` to ``state`` file updates the contents of stats files
136 ``.../tried_regions/total_bytes`` files. Writing
145 ``contexts`` directory contains files for controlling the monitoring contexts
162 In each context directory, two files (``avail_operations`` and ``operations``)
189 Files for specifying attributes of the monitoring including required quality
194 Under ``intervals`` directory, three files for DAMON's sampling interval
197 writing to and reading from the files.
199 Under ``nr_regions`` directory, two files for the lower-bound and upper-bound
202 writing to and rading from the files.
242 as they want, by writing proper values to the files under this directory.
251 In each region directory, you will find two files (``start`` and ``end``). You
253 region by writing to and reading from the files, respectively.
263 writing to files under this directory.
307 ``nr_accesses``, and ``age``) each having two files (``min`` and ``max``)
309 to and reading from the ``min`` and ``max`` files under ``sz``,
319 Under ``quotas`` directory, three files (``ms``, ``bytes``,
320 ``reset_interval_ms``) and one directory (``weights``) having three files
324 ``reset interval`` in milliseconds by writing the values to the three files,
333 in per-thousand unit by writing the values to the three files under the
342 Under the watermarks directory, five files (``metric``, ``interval_us``,
345 get the five values by writing to the files, respectively.
366 Each filter directory contains six files, namely ``type``, ``matcing``,
375 ``addr_start`` and ``addr_end`` files, respectively. For the DAMON monitoring
413 The statistics can be retrieved by reading the files under ``stats`` directory
415 ``qt_exceeds``), respectively. The files are not updated in real time, so you
416 should ask DAMON sysfs interface to update the content of the files for the
431 directory contains files exposing detailed information about each of the memory
453 In each region directory, you will find four files (``start``, ``end``,
454 ``nr_accesses``, and ``age``). Reading the files will show the start and end
496 the files as above. Above is only for an example.
512 DAMON exports eight files, ``attrs``, ``target_ids``, ``init_regions``,
730 Setting the files as described above doesn't incur effect unless you explicitly
744 Please note that you cannot write to the above-mentioned debugfs files while
745 the monitoring is turned on. If you write to the files while DAMON is running,
771 the ``mk_contexts`` and ``rm_contexts`` files.
775 DAMON debugfs files for the context. ::
791 Note that ``mk_contexts``, ``rm_contexts``, and ``monitor_on`` files are in the