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)
commite3f42609628a20da92ecbc2d81053cc82c90a071
tree5fce687fcc9fb9b3060c5bb129936ac725da0a19
parent246d4ce8107ea16521384c8b2a8fcff354ef2b7c
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