diff options
author | Jiri Olsa <jolsa@kernel.org> | 2017-08-03 16:07:05 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-11-16 14:50:08 -0300 |
commit | 3ad31d8a0df257c3f18c989119359c1f25cd009d (patch) | |
tree | dec3e4ac5de18f3e407ee8d270e952318b0890f5 /tools/perf/ui/gtk/annotate.c | |
parent | 914eb9ca51117776d83e6761a1c555fb76f0ded2 (diff) |
perf evsel: Centralize perf_sample initialization
Move the initialization bits into common place at the beginning of the
function.
Also removing some superfluous zero initialization for addr and
transaction, because we zero all the data at the top.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-1gv5t6fvv735t1rt3mxpy1h9@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/gtk/annotate.c')
0 files changed, 0 insertions, 0 deletions