Commit Graph

  • cd998f3f9b Do not place cgroup under relative path read from cgroup by default Tim Zhang 2020-11-11 19:36:36 +08:00
  • 1ac76b69ba Make function find_v1_mount pub Tim Zhang 2020-11-09 15:47:25 +08:00
  • 121f78d8e8 Expose deletion error Tim Zhang 2020-11-09 15:11:36 +08:00
  • 0f76570677 Avoid exception caused by cgroup writeback feature Tim Zhang 2020-11-05 19:05:14 +08:00
  • 10650e2b16 Update tests to adapt new type of fields in resource Tim Zhang 2020-11-09 18:58:05 +08:00
  • 567cdb43b3 Use Option as resource fields, remove the update switch: update_values Tim Zhang 2020-11-05 11:18:39 +08:00
  • 0c18b0855e Support customized attributes for CpuController and MemController Tim Zhang 2020-11-04 18:03:42 +08:00
  • ca610bb57e add add_task_by_tgid Yang, Wei 2020-07-24 19:14:40 +08:00
  • af6fc63bed Merge pull request #17 from Tim-Zhang/minor-updates Fupan Li 2020-10-30 10:15:05 +08:00
  • 6f9e89572e MemController: add method reset_max_usage Tim Zhang 2020-10-29 19:35:39 +08:00
  • 42eb32765b Make methods to_controller and controller_name of Subsystem public Tim Zhang 2020-10-29 19:32:55 +08:00
  • efb98108fc Fix warnings Tim Zhang 2020-10-29 19:31:27 +08:00
  • c310b30c52 Merge pull request #14 from liubin/enhancement/13-fix-warnings James O. D. Hunt 2020-10-01 17:28:16 +01:00
  • 152af17f8f fix build warnings bin liu 2020-09-23 15:43:05 +08:00
  • d18b3bac2f Merge pull request #16 from liubin/enhancement/15-add-workflow-checks Bin Liu 2020-09-23 16:17:33 +08:00
  • 414fa281cc add basic github workflow for basic checks bin liu 2020-09-23 15:58:38 +08:00
  • f0eac7859a Merge pull request #12 from liubin/fix/11-add-trivas Peng Tao 2020-09-23 14:01:37 +08:00
  • db40fe8cd3 update Travis configs bin liu 2020-09-22 11:22:56 +08:00
  • 8717524f2c Merge pull request #10 from Kvasscn/fix-type-i8-compile-error-in-aarch64 Fupan Li 2020-09-22 10:36:14 +08:00
  • cd7e737149 lib: fix compiling error for type i8 in aarch64 environment zhanghj 2020-09-21 05:40:57 -04:00
  • 3852d7c180 Merge pull request #8 from liubin/fix/7-add-sync-marker-to-error-cause 0.1.1 Peng Tao 2020-09-14 16:15:12 +08:00
  • 0aaf7dba0b Merge pull request #6 from liubin/fix/cfs_quota-to-i64 Peng Tao 2020-09-14 16:14:22 +08:00
  • 42685bbfe9 errors: add sync marker to error cause bin liu 2020-09-14 15:22:55 +08:00
  • f8d653e987 cpu: change cfs_quota from u64 to i64 bin liu 2020-09-14 13:00:40 +08:00
  • d20e6a5383 Merge pull request #4 from liubin/master Peng Tao 2020-09-09 20:44:28 +08:00
  • be617190c7 hugetlb: update test to avoid depending on test env bin liu 2020-09-09 17:09:12 +08:00
  • 250ada183a cargo fmt bin liu 2020-09-09 16:42:55 +08:00
  • ff6a0ea82a add SPDX-License-Identifier for modified files bin liu 2020-09-09 13:35:46 +08:00
  • bcbf438823 Merge remote-tracking branch 'upstream/master' bin liu 2020-09-09 13:27:12 +08:00
  • c3912223d0 use let Some() instead of is_some() to make codes clear bin liu 2020-09-09 13:23:36 +08:00
  • 5d51e50bec get relative paths at new/load func default. bin liu 2020-09-07 17:50:02 +08:00
  • a1bc5868d6 Merge pull request #3 from liubin/fix/2 Peng Tao 2020-09-08 09:16:47 +08:00
  • 86b245076c add SPDX-License-Identifier for all source bin liu 2020-09-07 20:28:23 +08:00
  • cd2c748a74 add systemd controller; add more tests; update blkio stat for v2 bin liu 2020-09-04 22:42:49 +08:00
  • c623dc3fba add basic v2 cpu/memory functions bin liu 2020-09-02 22:03:11 +08:00
  • 704db324ae fix: create all dirs bin liu 2020-09-01 00:01:28 +08:00
  • 9fe6cb58e4 change *limit* in memory from u64 to i64 bin liu 2020-08-25 13:28:36 +08:00
  • c702852fd7 add disable oom_control function bin liu 2020-08-25 11:35:01 +08:00
  • 9d70467327 add hugetlb functions bin liu 2020-08-25 10:51:49 +08:00
  • 6b1b26b1fe copy cpuset after created bin liu 2020-08-25 10:51:29 +08:00
  • 9ce206f6bc probe cgroup v1 mount path bin liu 2020-08-25 10:50:52 +08:00
  • ed1e8162d5 rust2018: remove extern crate Levente Kurusa 2018-12-23 16:57:41 +01:00
  • 932a6e770f Cargo: bump Rust version to 2018 Levente Kurusa 2018-12-23 16:32:00 +01:00
  • 01a3c22829 Transition to Rust 2018 Levente Kurusa 2018-12-23 16:31:05 +01:00
  • b5e0706d6a (cargo-release) start next development iteration 0.1.1-alpha.0 v0.1.0 Levente Kurusa 2018-12-23 16:24:51 +01:00
  • 8a2fa92c3a Update README 0.1.0 Levente Kurusa 2018-11-20 15:11:22 +02:00
  • dd621eae4e Replace &String with &str Sam Wilson 2018-10-16 10:00:17 -04:00
  • 751dbc7244 Replace some &String with &Path Sam Wilson 2018-10-12 11:05:56 -04:00
  • 3413b7d847 Expose the path of controllers for chown Sam Wilson 2018-10-12 12:22:43 -04:00
  • 3b9d4a8c2a builder: document blkio Levente Kurusa 2018-10-14 23:53:17 +02:00
  • e51d781baf builder: add some documentation Levente Kurusa 2018-10-13 22:34:27 +02:00
  • b4cc91f977 Builder pattern for control groups Levente Kurusa 2018-10-21 17:21:53 +02:00
  • f9ffbe2ba4 memory: allow the fail counters to be reset Levente Kurusa 2018-10-11 11:34:27 +02:00
  • b3738c2c9b memory: remove outdated TODOs Levente Kurusa 2018-10-09 09:00:16 -04:00
  • 90ab756be8 blkio: parse {read,write}_{bps,iops}_device Levente Kurusa 2018-10-08 17:11:01 -04:00
  • e85754d943 blkio: parse sectors{,_recursive} Levente Kurusa 2018-10-05 14:21:55 -04:00
  • c08e4d3e5d blkio: parse leaf_weight_device Levente Kurusa 2018-10-04 12:51:21 -04:00
  • c63dad411b Hide most of the previously undocumented methods in a sealed trait Sam Wilson 2018-10-10 14:23:06 -04:00
  • 7826b798bd Implement ::std::error::Error Sam Wilson 2018-10-10 14:03:28 -04:00
  • 84ae587360 Replace println! calls with logging Sam Wilson 2018-10-10 12:55:32 -04:00
  • adc3323be4 Replace '/*' style comments with '//' style, which is recommended officially Hidehito Yabuuchi 2018-10-06 21:20:24 +09:00
  • ffd4cd70e2 Capitalize static values in tests Hidehito Yabuuchi 2018-10-04 01:09:30 +09:00
  • ae56cb02b9 Use mem::discriminant in impl PartialEq for CgroupError Hidehito Yabuuchi 2018-10-04 00:57:13 +09:00
  • 2149e1c0c4 Run rustfmt Hidehito Yabuuchi 2018-10-04 00:45:43 +09:00
  • 5660656e3a Use self short-hand Hidehito Yabuuchi 2018-10-01 18:29:29 +09:00
  • af6ed48e39 blkio: use BlkIoData for weight_device, too Levente Kurusa 2018-09-29 09:41:36 -04:00
  • 4b67af3eef blkio: rename BlkIoTime to BlkIoData Levente Kurusa 2018-09-28 11:11:19 -04:00
  • afe1519ed2 blkio: parse time/time_recursive Levente Kurusa 2018-09-27 10:19:19 -04:00
  • 7fa4527c2a memory: parse memory.stat Levente Kurusa 2018-09-16 17:53:53 +02:00
  • d9bc157388 memory: parse oom_control field Levente Kurusa 2018-09-16 16:49:04 +02:00
  • 9da8998cd4 memory: parse numa_stat field Levente Kurusa 2018-09-16 16:05:29 +02:00
  • 07421b2aff blkio: parse a bunch of fields Levente Kurusa 2018-09-16 14:43:09 +02:00
  • 196d3e4d45 cargo: set default test runner to be sudo Levente Kurusa 2018-09-14 15:59:56 +02:00
  • 0e350463a1 controllers: verify that resource application went ok or not Levente Kurusa 2018-09-14 15:59:29 +02:00
  • af12452fca tests: cgroup: re-enable the test for moving the task Levente Kurusa 2018-09-09 16:46:15 +02:00
  • dbbcb86884 devices: correct some documentation Levente Kurusa 2018-09-05 10:48:12 +02:00
  • 1c213caea5 cpuset: parse ranges like cpus & mems Levente Kurusa 2018-09-05 10:47:53 +02:00
  • be5db6ba50 cpuset: fail if trying to enable memory pressure on a non-root cg Levente Kurusa 2018-09-04 10:45:32 +02:00
  • 19e2847e15 tests: fix broken tests Levente Kurusa 2018-09-04 10:03:56 +02:00
  • ede7201b73 devices: parse files in the devices subsystem Levente Kurusa 2018-09-04 10:02:54 +02:00
  • 363fa7bdbf Cargo: Up version to v0.0.2 v0.0.2 Levente Kurusa 2018-09-03 11:09:37 +02:00
  • c82a94b58e tree: add some simple error reporting Levente Kurusa 2018-09-03 00:11:33 +02:00
  • 84bcf24183 README: Add Travis CI logo Levente Kurusa 2018-09-02 15:43:48 +02:00
  • 69fa1816bb ci: add travis support Levente Kurusa 2018-09-02 15:35:05 +02:00
  • 7c83b7b236 test: cgroup: test moving to the root cg Levente Kurusa 2018-09-02 15:33:57 +02:00
  • acb0c448b1 cgroup: make it possible to move a control group to root Levente Kurusa 2018-09-02 15:33:38 +02:00
  • 17b6c2787a tests: pids: add a proper test Levente Kurusa 2018-09-01 17:06:33 +02:00
  • 367ea556ca tests: move tests to tests/ directory and give the user cgroup perms Levente Kurusa 2018-08-30 13:40:15 +02:00
  • c8b029b154 tests: fix the first few tests Levente Kurusa 2018-08-30 11:41:54 +02:00
  • be58b53fc9 README: clarify license and add an example Levente Kurusa 2018-08-30 09:30:14 +02:00
  • 2e60a1f634 Relicense under MIT OR Apache-2.0 Levente Kurusa 2018-08-30 00:04:53 +02:00
  • 45760eedcb Cargo.toml: update v0.0.1 Levente Kurusa 2018-08-29 23:54:17 +02:00
  • 33b66f5b35 Most documentation is done Levente Kurusa 2018-08-29 23:45:20 +02:00
  • 9d270d5159 More docs! Levente Kurusa 2018-08-29 23:01:39 +02:00
  • caa9241285 More documentation! Levente Kurusa 2018-08-29 18:39:57 +02:00
  • 6ef19363be cpu,cpuacct,cpuset: add first docs Levente Kurusa 2018-08-28 18:41:37 +02:00
  • 14b23e1857 pids: first draft of docs Levente Kurusa 2018-08-28 16:08:45 +02:00
  • a65196d7c1 Add implementation for From<Command> to CgroupPid Levente Kurusa 2018-08-28 15:13:42 +02:00
  • 9162c5a6ad Initial work Levente Kurusa 2018-08-28 14:52:23 +02:00
  • 6951e922be Initial commit Levente Kurusa 2018-08-20 16:45:14 +02:00