blktrace: add an option to allow displaying cgroup path
By default we output cgroup id in blktrace. This adds an option to display cgroup path. Since get cgroup path is a relativly heavy operation, we don't enable it by default. with the option enabled, blktrace will output something like this: dd-1353 [007] d..2 293.015252: 8,0 /test/level D R 24 + 8 [dd] Signed-off-by:Shaohua Li <shli@fb.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- fs/kernfs/mount.c 19 additions, 0 deletionsfs/kernfs/mount.c
- include/linux/cgroup.h 6 additions, 0 deletionsinclude/linux/cgroup.h
- include/linux/kernfs.h 2 additions, 0 deletionsinclude/linux/kernfs.h
- kernel/cgroup/cgroup.c 12 additions, 0 deletionskernel/cgroup/cgroup.c
- kernel/trace/blktrace.c 13 additions, 1 deletionkernel/trace/blktrace.c
Loading
Please register or sign in to comment