• Tejun Heo's avatar
    cgroup, sched: convert away from cftype->read_map() · 44ffc75b
    Tejun Heo authored
    In preparation of conversion to kernfs, cgroup file handling is being
    consolidated so that it can be easily mapped to the seq_file based
    interface of kernfs.
    
    cftype->read_map() doesn't add any value and being replaced with
    ->read_seq_string().  Update cpu_stats_show() and cpuacct_stats_show()
    accordingly.
    
    This patch doesn't make any visible behavior changes.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Acked-by: default avatarLi Zefan <lizefan@huawei.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    44ffc75b
cpuacct.c 6.03 KB