[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-01fbc1fee926888f7c256ada95fa5fa3b06cba94@git.kernel.org>
Date: Sat, 14 Mar 2015 00:01:52 -0700
From: tip-bot for Jiri Olsa <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: dsahern@...il.com, cjashfor@...ux.vnet.ibm.com,
namhyung@...nel.org, fweisbec@...il.com, jolsa@...nel.org,
acme@...hat.com, a.p.zijlstra@...llo.nl, mingo@...nel.org,
adrian.hunter@...el.com, tglx@...utronix.de,
linux-kernel@...r.kernel.org, hpa@...or.com, eranian@...gle.com,
paulus@...ba.org
Subject: [tip:perf/core] perf tools: Remove superfluous thread->
comm_set setting
Commit-ID: 01fbc1fee926888f7c256ada95fa5fa3b06cba94
Gitweb: http://git.kernel.org/tip/01fbc1fee926888f7c256ada95fa5fa3b06cba94
Author: Jiri Olsa <jolsa@...nel.org>
AuthorDate: Tue, 3 Mar 2015 16:29:28 +0100
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Thu, 12 Mar 2015 12:39:50 -0300
perf tools: Remove superfluous thread->comm_set setting
It is set by calling thread__set_comm right before the removed line.
Signed-off-by: Jiri Olsa <jolsa@...nel.org>
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Frederic Weisbecker <fweisbec@...il.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Paul Mackerras <paulus@...ba.org>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Stephane Eranian <eranian@...gle.com>
Link: http://lkml.kernel.org/r/1425396581-17716-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/util/thread.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c
index a5dbba9..1c8fbc9 100644
--- a/tools/perf/util/thread.c
+++ b/tools/perf/util/thread.c
@@ -206,7 +206,6 @@ int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp)
err = thread__set_comm(thread, comm, timestamp);
if (err)
return err;
- thread->comm_set = true;
}
thread->ppid = parent->tid;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists