[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-aa4df30db52293c146b1851b88021d0bc2dd3b89@git.kernel.org>
Date: Fri, 15 Feb 2019 01:51:43 -0800
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: peterz@...radead.org, linux-kernel@...r.kernel.org,
namhyung@...nel.org, mingo@...nel.org, jolsa@...nel.org,
acme@...hat.com, tglx@...utronix.de,
alexander.shishkin@...ux.intel.com, hpa@...or.com
Subject: [tip:perf/core] perf header: Remove unused 'cpu_nr' field from
'struct cpu_topo'
Commit-ID: aa4df30db52293c146b1851b88021d0bc2dd3b89
Gitweb: https://git.kernel.org/tip/aa4df30db52293c146b1851b88021d0bc2dd3b89
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Wed, 13 Feb 2019 13:32:44 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 14 Feb 2019 15:18:09 -0300
perf header: Remove unused 'cpu_nr' field from 'struct cpu_topo'
Not used at all.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Link: http://lkml.kernel.org/r/20190213123246.4015-9-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/header.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index f1508adefc16..61ce197c5362 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -563,7 +563,6 @@ static int write_cmdline(struct feat_fd *ff,
"/sys/devices/system/cpu/cpu%d/topology/thread_siblings_list"
struct cpu_topo {
- u32 cpu_nr;
u32 core_sib;
u32 thread_sib;
char **core_siblings;
@@ -679,7 +678,6 @@ static struct cpu_topo *build_cpu_topology(void)
goto out_free;
tp = addr;
- tp->cpu_nr = nr;
addr += sizeof(*tp);
tp->core_siblings = addr;
addr += sz;
Powered by blists - more mailing lists