]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Use evsel->attr.sample_type instead of session->sample_type
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 16 Nov 2011 19:02:54 +0000 (17:02 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 28 Nov 2011 12:38:14 +0000 (10:38 -0200)
commit0363d55796d799630e38b5281495e126f30026b1
tree5fce687fcc9fb9b3060c5bb129936ac725da0a19
parent301f989114c435caded93cce126e470f044ccbf1
perf tools: Use evsel->attr.sample_type instead of session->sample_type

Eventually session->sample_type will go away as we want to support
multiple sample types per session, so use it from the evsel which is a
step in that direction.

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-0vwdpjcwbjezw459lw5n3ew1@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-sched.c
tools/perf/builtin-timechart.c