diff options
author | Namhyung Kim <namhyung@kernel.org> | 2020-03-25 13:45:35 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-04-03 14:37:55 +0200 |
commit | f382842fa0244ae1e2c28c8377732c85ec1fe7a9 (patch) | |
tree | d6dac14e00fb8f337ca04fc3b2e90c6c71eb5e1c /tools/laptop | |
parent | perf record: Add --all-cgroups option (diff) | |
download | linux-f382842fa0244ae1e2c28c8377732c85ec1fe7a9.tar.xz linux-f382842fa0244ae1e2c28c8377732c85ec1fe7a9.zip |
perf top: Add --all-cgroups option
The --all-cgroups option is to enable cgroup profiling support. It
tells kernel to record CGROUP events in the ring buffer so that 'perf
top' can identify task/cgroup association later.
Committer testing:
Use:
# perf top --all-cgroups -s cgroup_id,cgroup,pid
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200325124536.2800725-9-namhyung@kernel.org
Link: http://lore.kernel.org/lkml/20200402015249.3800462-1-namhyung@kernel.org
[ Extracted the HAVE_FILE_HANDLE from the followup patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/laptop')
0 files changed, 0 insertions, 0 deletions