projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdd84c
)
perf evlist: Remove obsolete dummy execve
author
Andi Kleen
<
[email protected]
>
Sat, 3 Aug 2013 00:41:09 +0000
(17:41 -0700)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 7 Aug 2013 20:35:28 +0000
(17:35 -0300)
Minor cleanup.
The dummy execve to pre-resolve the PLT is obsolete since
"enable_on_execve" was added. The counters are only
running after the execve anyways. So just remove it.
Signed-off-by: Andi Kleen <
[email protected]
>
Reviewed-by: Jiri Olsa <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/evlist.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/evlist.c
b/tools/perf/util/evlist.c
index da2dd92d5b27ae58eee8650e090e54a92cd28eea..c7d111f745531450dbb25d80811fe518364ef815 100644
(file)
--- a/
tools/perf/util/evlist.c
+++ b/
tools/perf/util/evlist.c
@@
-836,13
+836,6
@@
int perf_evlist__prepare_workload(struct perf_evlist *evlist,
close(go_pipe[1]);
fcntl(go_pipe[0], F_SETFD, FD_CLOEXEC);
- /*
- * Do a dummy execvp to get the PLT entry resolved,
- * so we avoid the resolver overhead on the real
- * execvp call.
- */
- execvp("", (char **)argv);
-
/*
* Tell the parent we're ready to go
*/