]> git.baikalelectronics.ru Git - kernel.git/commit
perf evsel: Introduce constructor for cycles event
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Jul 2016 21:33:20 +0000 (18:33 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 28 Jul 2016 21:33:20 +0000 (18:33 -0300)
commitb74710a64ffeb52b23a8a6a126e874817d5d0f35
treef4f810f369bbf4c0002f310014d287b99cc50448
parent4314a2aba27ff63ae6fe84cfe5ccc5100eb1b084
perf evsel: Introduce constructor for cycles event

That is the default used when no events is specified in tools, separate
it so that simpler tools that need no evlist can use it directly.

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: http://lkml.kernel.org/n/tip-67mwuthscwroz88x9pswcqyv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evsel.c
tools/perf/util/evsel.h