perf fixes
Subsystems (2)
Linus,
Please pull the latest perf-urgent-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git perf-urgent-for-linus
Thanks,
Ingo
------------------>
Mathias Krause (1):
tools/perf: Fix static build of perf tool
Steven Rostedt (1):
tracing: Fix regression in printk_formats file
kernel/trace/trace_printk.c | 5 +---- tools/perf/Makefile | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-)
kernel/trace/trace_printk.c +1 -4
@@ -240,13 +240,10 @@ static const char **find_next(void *v, loff_t *pos)const char **fmt = v;int start_index; -if (!fmt) - fmt = __start___trace_bprintk_fmt + *pos; - start_index = __stop___trace_bprintk_fmt - __start___trace_bprintk_fmt;if (*pos < start_index) -return fmt; +return __start___trace_bprintk_fmt + *pos;return find_next_mod_format (start_index, v, fmt, pos); }
tools/perf/Makefile +1 -1
@@ -633,7 +633,7 @@ prefix_SQ = $(subst ','\'',$(prefix)) SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH)) -LIBS = -Wl,--whole-archive $(PERFLIBS) -Wl,--no-whole-archive $(EXTLIBS) +LIBS = -Wl,--whole-archive $(PERFLIBS) -Wl,--no-whole-archive -Wl,--start-group $(EXTLIBS) -Wl,--end-group ALL_CFLAGS += $(BASIC_CFLAGS) ALL_CFLAGS += $(ARCH_CFLAGS)