Revert "perf report: Add warning when libunwind not compiled in"
authorSasha Levin <sashal@kernel.org>
Sun, 5 Jan 2020 18:27:14 +0000 (13:27 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Jan 2020 10:24:12 +0000 (11:24 +0100)
This reverts commit 59b706ce44dbfd35a428f2cbad47794ce5dce1eb.

This change depends on more changes that didn't exist in 4.9 and older.

Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/perf/builtin-report.c

index 33ff5c843346c93d5e098c6bf87d522f2d8cb074..6e88460cd13d3d65ad54f18470a1e8d7e445b06d 100644 (file)
@@ -292,13 +292,6 @@ static int report__setup_sample_type(struct report *rep)
                                PERF_SAMPLE_BRANCH_ANY))
                rep->nonany_branch_mode = true;
 
-#ifndef HAVE_LIBUNWIND_SUPPORT
-       if (dwarf_callchain_users) {
-               ui__warning("Please install libunwind development packages "
-                           "during the perf build.\n");
-       }
-#endif
-
        return 0;
 }