diff options
author | Franck Cuny <franck@fcuny.net> | 2024-01-21 13:29:31 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-01-21 13:29:31 -0800 |
commit | 885789b796d234afeb5e1f3343004761ab6c3376 (patch) | |
tree | fd91d6d2f57cbeada57d672f3381b1f45699e4fe /tools/schedlatency | |
parent | add gomod to dependabot (diff) | |
download | world-885789b796d234afeb5e1f3343004761ab6c3376.tar.gz |
fix linter issues
Diffstat (limited to 'tools/schedlatency')
-rw-r--r-- | tools/schedlatency/main.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/schedlatency/main.go b/tools/schedlatency/main.go index 0522026..7dd709e 100644 --- a/tools/schedlatency/main.go +++ b/tools/schedlatency/main.go @@ -138,7 +138,6 @@ type Proc struct { // 1. time spent on the cpu // 2. time spent waiting on a runqueue // 3. # of timeslices run on this cpu -// func (p Proc) SchedStat() (ProcSchedStat, error) { path := fmt.Sprintf("/proc/%d/schedstat", p.PID) b, err := ioutil.ReadFile(path) |