perf evsel: Reconstruct raw event with modifiers from perf_event_attr
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 13 Jun 2012 14:53:37 +0000 (11:53 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Jun 2012 16:06:21 +0000 (13:06 -0300)
commit6eef3d9c2bcf52b7a3c18e609f5838c007b989a4
tree84e8109b2ac84a4fcef7e392a9b0ad87aedd4e53
parent9db1763c72b1548626ae9d634015de4f07ef624f
perf evsel: Reconstruct raw event with modifiers from perf_event_attr

I forgot to add the modifiers to raw events too, fix it.

Reported-by: Jiri Olsa <jolsa@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-pi267j1aqqjti9rqh9qy4g58@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c