lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 25 Dec 2008 16:29:05 +0900 (JST)
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	kosaki.motohiro@...fujitsu.com, linux-kernel@...r.kernel.org,
	Thomas Gleixner <tglx@...utronix.de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Stephane Eranian <eranian@...glemail.com>,
	Eric Dumazet <dada1@...mosbay.com>,
	Robert Richter <robert.richter@....com>,
	Arjan van de Ven <arjan@...radead.org>,
	Peter Anvin <hpa@...or.com>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Paul Mackerras <paulus@...ba.org>,
	"David S. Miller" <davem@...emloft.net>
Subject: Re: [patch] Performance Counters for Linux, v5

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@...utronix.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.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ