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:
ba3d7de
)
perf inject: Remove unused 'input_name' static var
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Sun, 30 Sep 2012 22:48:53 +0000
(19:48 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Tue, 2 Oct 2012 21:36:26 +0000
(18:36 -0300)
If we ever want to allow inject to work with something other than stdin,
we can put it back, but so far it is completely unused, so ditch it.
Cc: David Ahern <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-inject.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-inject.c
b/tools/perf/builtin-inject.c
index b5ab084233fadbd31a9afe88cd28e64fa6136fd8..e249f244b22ac392ccdcb806326d98b3679029e7 100644
(file)
--- a/
tools/perf/builtin-inject.c
+++ b/
tools/perf/builtin-inject.c
@@
-14,7
+14,6
@@
#include "util/parse-options.h"
-static char const *input_name = "-";
static bool inject_build_ids;
static int perf_event__repipe_synth(struct perf_tool *tool __maybe_unused,
@@
-245,7
+244,7
@@
static int __cmd_inject(void)
perf_inject.tracing_data = perf_event__repipe_tracing_data;
}
- session = perf_session__new(
input_name
, O_RDONLY, false, true, &perf_inject);
+ session = perf_session__new(
"-"
, O_RDONLY, false, true, &perf_inject);
if (session == NULL)
return -ENOMEM;