All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: Ralf Baechle <ralf@linux-mips.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Arnaldo Carvalho de Melo <acme@kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	David Daney <david.daney@cavium.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	Paul Burton <paul.burton@imgtec.com>,
	James Hogan <james.hogan@imgtec.com>,
	Matt Redfearn <matt.redfearn@imgtec.com>,
	Qais Yousef <qais.yousef@imgtec.com>,
	Ben Hutchings <ben@decadent.org.uk>, Jiri Olsa <jolsa@redhat.com>,
	Wang Nan <wangnan0@huawei.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Namhyung Kim <namhyung@kernel.org>,
	Stephane Eranian <eranian@google.com>,
	linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 3/3] perf tools: Hook up MIPS unwind and dwarf-regs in the Makefile
Date: Fri, 1 Apr 2016 13:58:34 +0300	[thread overview]
Message-ID: <56FE545A.7090003@cogentembedded.com> (raw)
In-Reply-To: <a3a7e99203ceaf662dc61895418c76e837eaf6ab.1459501014.git.ralf@linux-mips.org>

Hello.

On 4/1/2016 11:56 AM, Ralf Baechle wrote:

> From: David Daney <david.daney@cavium.com>
>
> Define a new symbol (ARCH_SUPPORTS_LIBUNWIND) in config/Makefile.

    Eh? Where is it?

> Use this from x86 and MIPS to gate testing of libunwind.

    x86? Where?

> Signed-off-by: David Daney <david.daney@cavium.com>
> Cc: linux-mips@linux-mips.org
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: linux-kernel@vger.kernel.org
> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
> ---
>   tools/perf/config/Makefile | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
> index f7d7f5a..713c69c 100644
> --- a/tools/perf/config/Makefile
> +++ b/tools/perf/config/Makefile
> @@ -51,6 +51,11 @@ ifeq ($(NO_PERF_REGS),0)
>     $(call detected,CONFIG_PERF_REGS)
>   endif
>
> +ifeq ($(ARCH),mips)
> +  NO_PERF_REGS := 0
> +  LIBUNWIND_LIBS = -lunwind -lunwind-mips
> +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

MBR, Sergei

  reply	other threads:[~2016-04-01 10:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01  8:56 [PATCH v3 0/3] Add MIPS support to perf tools Ralf Baechle
2016-04-01  8:56 ` [PATCH v3 1/3] MIPS: Add user stack and registers to perf Ralf Baechle
2016-04-01  8:56 ` [PATCH v3 2/3] perf tools: Add support for MIPS userspace DWARF callchains Ralf Baechle
2016-04-01 14:06   ` Arnaldo Carvalho de Melo
2016-04-01  8:56 ` [PATCH v3 3/3] perf tools: Hook up MIPS unwind and dwarf-regs in the Makefile Ralf Baechle
2016-04-01 10:58   ` Sergei Shtylyov [this message]
2016-04-01 11:01     ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56FE545A.7090003@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=ben@decadent.org.uk \
    --cc=david.daney@cavium.com \
    --cc=eranian@google.com \
    --cc=james.hogan@imgtec.com \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=matt.redfearn@imgtec.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=paul.burton@imgtec.com \
    --cc=peterz@infradead.org \
    --cc=qais.yousef@imgtec.com \
    --cc=ralf@linux-mips.org \
    --cc=tglx@linutronix.de \
    --cc=wangnan0@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.