Skip to content

Commit 3f61f94

Browse files
author
Fox Snowpatch
committed
1 parent 182544a commit 3f61f94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/perf/builtin-sched.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4538,7 +4538,7 @@ static int perf_sched__schedstat_diff(struct perf_sched *sched,
45384538
struct cpu_domain_map **cd_map0 = NULL, **cd_map1 = NULL;
45394539
struct list_head cpu_head_ses0, cpu_head_ses1;
45404540
struct perf_session *session[2];
4541-
struct perf_data data[2];
4541+
struct perf_data data[2] = { 0 };
45424542
int ret = 0, err = 0;
45434543
static const char *defaults[] = {
45444544
"perf.data.old",

0 commit comments

Comments
 (0)