diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-12-16 13:52:03 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-12-16 13:52:03 (GMT) |
commit | b283d2f3b74bc98174e8453c0be41dfcda3cae1b (patch) | |
tree | e9af6975920c4bf2eb4b8cdb35f88726f3db1e77 /tools/perf/util/thread.c | |
parent | fe361cfcf40ad4612226347573a8669cd0d44799 (diff) | |
parent | 41e12e580a7b0c151199f927193548b84d3e874c (diff) | |
download | linux-b283d2f3b74bc98174e8453c0be41dfcda3cae1b.tar.xz |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
Fixes:
* Fix inverted error verification bug in thread__fork, from David Ahern.
New features:
* Shell completion for 'perf kvm', from Ramkumar Ramachandra.
Refactorings:
* Get rid of panic() like calls in libtraceevent, from Namyung Kim.
* Start carving out symbol parsing routines from perf, just moving routines to
topic files in tools/lib/symbol/, tools that want to use it need to integrate
it directly, i.e. no tools/lib/symbol/Makefile is provided.
* Assorted refactoring patches, moving code around and adding
utility evlist methods that will be used in the IPT patchset,
from Adrian Hunter.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/util/thread.c')
-rw-r--r-- | tools/perf/util/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/thread.c b/tools/perf/util/thread.c index 49eaf1d..e394861 100644 --- a/tools/perf/util/thread.c +++ b/tools/perf/util/thread.c @@ -126,7 +126,7 @@ int thread__fork(struct thread *thread, struct thread *parent, u64 timestamp) if (!comm) return -ENOMEM; err = thread__set_comm(thread, comm, timestamp); - if (!err) + if (err) return err; thread->comm_set = true; } |