Skip to contentSkip to conversation

linux-next: manual merge of the tip tree with the mips tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 13, 2015 – Apr 17, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the tip tree got a conflict in tools/perf/config/Makefile between commit 4fd6ce055817 ("perf tools:
Hook up MIPS unwind and dwarf-regs in the Makefile") from the mips tree and commit 3bc3374cc50c ("perf build: Add perf regs objects building") from the tip tree.

I fixed it up (see below) and can carry the fix as necessary (no action is required).

Signature · 25 lines
Cheers,
Stephen Rothwell                    [email protected]

diff --cc tools/perf/config/Makefile
index 0d0595e1ece8,59a98c643240..000000000000
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@@ -43,13 -47,10 +50,17 @@@ ifeq ($(ARCH),arm64
    LIBUNWIND_LIBS = -lunwind -lunwind-aarch64
  endif
  
 +# Additional ARCH settings for MIPS
 +ifeq ($(ARCH),mips)
 +  ARCH_SUPPORTS_LIBUNWIND := 1
 +  NO_PERF_REGS := 0
 +  LIBUNWIND_LIBS = -lunwind -lunwind-mips
 +endif
 +
+ ifeq ($(NO_PERF_REGS),0)
+   $(call detected,CONFIG_PERF_REGS)
+ endif
+ 
  # So far there's only x86 and arm libdw unwind support merged in perf.
  # Disable it on all other architectures in case libdw unwind
  # support is detected in system. Add supported architectures
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the tip tree got a conflict in tools/perf/config/Makefile between commit 4fd6ce055817 ("perf tools:
Hook up MIPS unwind and dwarf-regs in the Makefile") from the mips tree

hi,
I remember reviewing following patchset:
[PATCH 1/2] perf tools: Add support for MIPS userspace DWARF callchains. [PATCH 2/2] perf tools: Hook up MIPS unwind and dwarf-regs in the Makefile

but it did not fit on top of current tip, v2 was needed, which I haven't seen yet.. but I might have missed that, in which case sorry for the noise ;-)

jirka