From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Rabin Vincent <rabin@rab.in>
Cc: Ingo Molnar <mingo@redhat.com>, Paul Mackerras <paulus@samba.org>,
linux-kernel@vger.kernel.org, linux-cris-kernel@axis.com
Subject: Re: [PATCH] perf tools: add CRIS support
Date: Wed, 25 Feb 2015 18:26:31 -0300 [thread overview]
Message-ID: <20150225212631.GK18705@kernel.org> (raw)
In-Reply-To: <1424374526-5366-1-git-send-email-rabin@rab.in>
Em Thu, Feb 19, 2015 at 08:35:26PM +0100, Rabin Vincent escreveu:
> Define the required macros to allow perf to be built for CRIS.
Thanks, applied to perf/core
- Arnaldo
> Signed-off-by: Rabin Vincent <rabin@rab.in>
> ---
> tools/perf/perf-sys.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/tools/perf/perf-sys.h b/tools/perf/perf-sys.h
> index 6ef6816..bc19550 100644
> --- a/tools/perf/perf-sys.h
> +++ b/tools/perf/perf-sys.h
> @@ -122,6 +122,13 @@
> #define cpu_relax() asm volatile("yield" ::: "memory")
> #endif
>
> +#ifdef __cris__
> +#define mb() asm volatile("" ::: "memory")
> +#define wmb() asm volatile("" ::: "memory")
> +#define rmb() asm volatile("" ::: "memory")
> +#define CPUINFO_PROC {"cpu model"}
> +#endif
> +
> #ifdef __mips__
> #define mb() asm volatile( \
> ".set mips2\n\t" \
> --
> 2.1.4
next prev parent reply other threads:[~2015-02-25 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-19 19:35 [PATCH] perf tools: add CRIS support Rabin Vincent
2015-02-25 21:26 ` Arnaldo Carvalho de Melo [this message]
2015-05-16 14:48 ` Rabin Vincent
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=20150225212631.GK18705@kernel.org \
--to=acme@kernel.org \
--cc=linux-cris-kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=paulus@samba.org \
--cc=rabin@rab.in \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox