]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Allow asking for the maximum allowed sample rate
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Mar 2018 17:25:56 +0000 (14:25 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Mar 2018 12:58:44 +0000 (09:58 -0300)
commit025b2ad0bde2fa11fb01d0820aff2fd842f20789
tree6c8a789c6b8de260f9e65b8a310714d834206d85
parent06591ae993bb38ac2d6300b18961679f82b775b4
perf top: Allow asking for the maximum allowed sample rate

Add the handy '-F max' shortcut, just introduced to 'perf record', to
reading and using the kernel.perf_event_max_sample_rate value as the
user supplied sampling frequency:

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-hz04f296zccknnb5at06a6q0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-top.txt
tools/perf/builtin-top.c