Skip to content

add v2 support #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 25 commits into
base: base
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9ce206f
probe cgroup v1 mount path
liubin Aug 25, 2020
6b1b26b
copy cpuset after created
liubin Aug 25, 2020
9d70467
add hugetlb functions
liubin Aug 25, 2020
c702852
add disable oom_control function
liubin Aug 25, 2020
9fe6cb5
change *limit* in memory from u64 to i64
liubin Aug 25, 2020
704db32
fix: create all dirs
liubin Aug 31, 2020
c623dc3
add basic v2 cpu/memory functions
liubin Sep 2, 2020
cd2c748
add systemd controller; add more tests; update blkio stat for v2
liubin Sep 4, 2020
86b2450
add SPDX-License-Identifier for all source
liubin Sep 7, 2020
a1bc586
Merge pull request #3 from liubin/fix/2
bergwolf Sep 8, 2020
5d51e50
get relative paths at new/load func default.
liubin Sep 7, 2020
c391222
use let Some() instead of is_some() to make codes clear
liubin Sep 9, 2020
bcbf438
Merge remote-tracking branch 'upstream/master'
liubin Sep 9, 2020
ff6a0ea
add SPDX-License-Identifier for modified files
liubin Sep 9, 2020
250ada1
cargo fmt
liubin Sep 9, 2020
be61719
hugetlb: update test to avoid depending on test env
liubin Sep 9, 2020
d20e6a5
Merge pull request #4 from liubin/master
bergwolf Sep 9, 2020
f8d653e
cpu: change cfs_quota from u64 to i64
liubin Sep 14, 2020
42685bb
errors: add sync marker to error cause
liubin Sep 14, 2020
0aaf7db
Merge pull request #6 from liubin/fix/cfs_quota-to-i64
bergwolf Sep 14, 2020
3852d7c
Merge pull request #8 from liubin/fix/7-add-sync-marker-to-error-cause
bergwolf Sep 14, 2020
cd7e737
lib: fix compiling error for type i8 in aarch64 environment
Kvasscn Sep 21, 2020
8717524
Merge pull request #10 from Kvasscn/fix-type-i8-compile-error-in-aarch64
lifupan Sep 22, 2020
db40fe8
update Travis configs
liubin Sep 22, 2020
f0eac78
Merge pull request #12 from liubin/fix/11-add-trivas
bergwolf Sep 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 25 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,31 @@
# Copyright (c) 2018 Levente Kurusa
# Copyright (c) 2020 Ant Group
#
# SPDX-License-Identifier: Apache-2.0
#

dist: bionic
os: linux
language: rust
cache: cargo

arch:
- amd64
- arm64

install:
- rustup component add rustfmt

script:
- cargo build
- if [ "$TRAVIS_CPU_ARCH" == "amd64" ]; then cargo test -- --color always --nocapture ; fi
- cargo fmt -- --check

rust:
- stable
- beta
- 1.44.1
- nightly
matrix:

jobs:
allow_failures:
- rust: nightly
fast_finish: true
script:
- cargo build --verbose --all
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ edition = "2018"

[dependencies]
log = "0.4"
regex = "1.1"
nix = "0.18.0"
libc = "0.2"

[dev-dependencies]
nix = "0.11.0"
libc = "0.2.43"
libc = "0.2.76"
Loading