Re: [PATCH 44/50] tools/perf/build: Collapse the test-all.c testcase

From: Jiri Olsa
Date: Mon Oct 07 2013 - 18:25:20 EST


On Mon, Oct 07, 2013 at 01:56:37PM +0200, Ingo Molnar wrote:

SNIP

> diff --git a/tools/perf/config/feature-checks/test-backtrace.c b/tools/perf/config/feature-checks/test-backtrace.c
> index 6a5fd96..5b33bcf 100644
> --- a/tools/perf/config/feature-checks/test-backtrace.c
> +++ b/tools/perf/config/feature-checks/test-backtrace.c
> @@ -9,8 +9,6 @@ int main(void)
> entries = backtrace(backtrace_fns, 10);
> backtrace_symbols_fd(backtrace_fns, entries, 1);
>
> - printf("backtrace entries: %d\n", entries);
> -
> return 0;

belongs to previous patch?

> }
>
> diff --git a/tools/perf/config/feature-checks/test-libunwind.c b/tools/perf/config/feature-checks/test-libunwind.c
> index 088fc59..43b9369 100644
> --- a/tools/perf/config/feature-checks/test-libunwind.c
> +++ b/tools/perf/config/feature-checks/test-libunwind.c
> @@ -18,9 +18,10 @@ int main(void)
>
> addr_space = unw_create_addr_space(&accessors, 0);
> if (addr_space)
> - return;
> + return 0;
>
> unw_init_remote(NULL, addr_space, NULL);
> dwarf_search_unwind_table(addr_space, 0, NULL, NULL, 0, NULL);
> +

ditto

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/