From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: kosaki.motohiro@jp.fujitsu.com, linux-kernel@vger.kernel.org,
Thomas Gleixner <tglx@linutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
Stephane Eranian <eranian@googlemail.com>,
Eric Dumazet <dada1@cosmosbay.com>,
Robert Richter <robert.richter@amd.com>,
Arjan van de Ven <arjan@infradead.org>,
Peter Anvin <hpa@zytor.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Paul Mackerras <paulus@samba.org>,
"David S. Miller" <davem@davemloft.net>
Subject: Re: [patch] Performance Counters for Linux, v5
Date: Thu, 25 Dec 2008 16:29:05 +0900 (JST) [thread overview]
Message-ID: <20081225162242.50E8.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <20081223124058.GA11525@elte.hu>
Hi Ingo,
Currently, -tip tree can't build on my ia64 box.
because..
> create mode 100644 Documentation/perf-counters.txt
> delete mode 100644 arch/x86/include/asm/intel_arch_perfmon.h
> create mode 100644 arch/x86/include/asm/perf_counter.h
> create mode 100644 arch/x86/kernel/cpu/perf_counter.c
> rename arch/x86/kernel/{signal_32.c => signal.c} (74%)
> delete mode 100644 arch/x86/kernel/signal_64.c
> create mode 100644 include/linux/perf_counter.h
> create mode 100644 kernel/perf_counter.c
Only x86 has <asm/perf_counter.h>.
> diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
> new file mode 100644
> index 0000000..ec77d16
> --- /dev/null
> +++ b/include/linux/perf_counter.h
> @@ -0,0 +1,254 @@
> +/*
> + * Performance counters:
> + *
> + * Copyright(C) 2008, Thomas Gleixner <tglx@linutronix.de>
> + * Copyright(C) 2008, Red Hat, Inc., Ingo Molnar
> + *
> + * Data type definitions, declarations, prototypes.
> + *
> + * Started by: Thomas Gleixner and Ingo Molnar
> + *
> + * For licencing details see kernel-base/COPYING
> + */
> +#ifndef _LINUX_PERF_COUNTER_H
> +#define _LINUX_PERF_COUNTER_H
> +
> +#include <asm/atomic.h>
> +#include <asm/perf_counter.h>
> +
<linux/perf_counter.h> depend on <asm/perf_counter.h>.
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index 55e30d1..2e15be8 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -71,6 +71,7 @@ struct sched_param {
> #include <linux/fs_struct.h>
> #include <linux/compiler.h>
> #include <linux/completion.h>
> +#include <linux/perf_counter.h>
> #include <linux/pid.h>
> #include <linux/percpu.h>
> #include <linux/topology.h>
<linux/sched.h> depend on <linux/perf_counter.h>
Oops, sched.h depend on <asm/perf_counter.h>, but non x86 doesn't have it.
next prev parent reply other threads:[~2008-12-25 7:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-23 12:40 Ingo Molnar
2008-12-25 7:29 ` KOSAKI Motohiro [this message]
2008-12-25 8:04 ` Ingo Molnar
2008-12-25 9:20 ` KOSAKI Motohiro
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=20081225162242.50E8.KOSAKI.MOTOHIRO@jp.fujitsu.com \
--to=kosaki.motohiro@jp.fujitsu.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=dada1@cosmosbay.com \
--cc=davem@davemloft.net \
--cc=eranian@googlemail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=robert.richter@amd.com \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®