android-sdk/arm-ds5-gator.git
9 years agoMerge branch 'master' into android
Jon Medhurst [Wed, 16 May 2012 13:34:10 +0000 (14:34 +0100)]
Merge branch 'master' into android

9 years agogator-daemon: Fix sequence-point compile error
Jon Medhurst [Mon, 14 May 2012 10:23:23 +0000 (11:23 +0100)]
gator-daemon: Fix sequence-point compile error

In mxml/mxml-file.c in the expression:
  (getc(fp) << 8) | getc(fp)
the C standard allows right-hand getc() to be called before left hand
one, which would cause a bug.

The compiler gives an warning about this and we are treating warnings as
errors this breaks the build with:
  error: operation on 'fp->_r' may be undefined [-Werror=sequence-point]

We can fix this by rewriting the expressions in two parts, however the
code in question has licensing clauses for modified versions which have
not yet been resolved.

Therefore, for now, we will disable the problematic error in the
makefiles.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:21:48 +0000 (15:21 +0100)]
gator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'

At the moment, we only have users with the old style interface, so
make our life easier by making it the default.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator: Version 5.10
Jon Medhurst [Thu, 10 May 2012 13:15:56 +0000 (14:15 +0100)]
gator: Version 5.10

New gator release (build 1385) for ARM DS-5 v5.10

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Fix inode reference count with d_make_root usage in 3.4
Jon Medhurst [Tue, 8 May 2012 07:44:36 +0000 (08:44 +0100)]
gator-driver: Fix inode reference count with d_make_root usage in 3.4

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: choosing kernel API based on version
Bernhard Rosenkranzer [Mon, 7 May 2012 22:36:14 +0000 (16:36 -0600)]
gator-driver: choosing kernel API based on version

'd_alloc_root' has been replaced by 'd_make_root' in 3.4 by this
upstream commit: 32991ab vfs: d_alloc_root() gone

This patch selects one function or another based on the kernel
version.

Change-Id: I3efbf4eadb1826f427d2a3eb6f140bc808e32e6a
Signed-off-by: Bernhard Rosenkranzer <bernhard.rosenkranzer@linaro.org>
Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
9 years agoRevert "gator-driver: kernel API change for d_alloc_root"
Mathieu J. Poirier [Mon, 7 May 2012 22:46:50 +0000 (16:46 -0600)]
Revert "gator-driver: kernel API change for d_alloc_root"

This reverts commit e1ef7e4897755d4c8dda74d4440cbb9100a18737.

Reverting in favor of a better and cleaner solution.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
9 years agogator-driver: kernel API change for d_alloc_root
Mathieu J. Poirier [Mon, 7 May 2012 19:17:15 +0000 (13:17 -0600)]
gator-driver: kernel API change for d_alloc_root

'd_alloc_root' has been replaced by 'd_make_root' in 3.4 by this
upstream commit:

32991ab vfs: d_alloc_root() gone

Change-Id: Iaba75811594f43f7d6d718a06aeee7397af0c8fa
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
9 years agogator-daemon: Fix building on armhf
Jon Medhurst [Fri, 27 Apr 2012 10:28:28 +0000 (11:28 +0100)]
gator-daemon: Fix building on armhf

Remove compiler options for arm arch and interworking as they
break the build and are superfluous now we build for armhf.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Revert commit 61fdde50 (Hack makefile to search for Mali trace headers)
Jon Medhurst [Wed, 14 Mar 2012 09:26:21 +0000 (09:26 +0000)]
gator-driver: Revert commit 61fdde50 (Hack makefile to search for Mali trace headers)

The hack for Ubuntu breaks Android builds because EXTRA_CFLAGS doesn't
work in Android and so the include path isn't extended to find
mali_linux_trace.h; therefore, revert this change in Android branch.

Note, Android has a clean way to build Gator with Mali support, so we
have no need of the hack anyway, see:
http://review.android.git.linaro.org/#change,1549

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agoMerge branch 'master' into android
Jon Medhurst [Mon, 5 Mar 2012 10:23:35 +0000 (10:23 +0000)]
Merge branch 'master' into android

9 years agogator-driver: Hack makefile to search for Mali trace headers
Jon Medhurst [Fri, 2 Mar 2012 15:32:46 +0000 (15:32 +0000)]
gator-driver: Hack makefile to search for Mali trace headers

Gator needs Mali headers and device type in order to build with Mali
profiling support. Unfortunately, the presence and location of this
information is difficult to configure considering kernels are
separate packages and managed by various teams.

To work around this, just use the find command to look for the header
and if present, assume we want Mali support, and that it is a Mali-400.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agogator-driver: Fix build failure on Linux 3.3
Wade Cherry [Mon, 5 Mar 2012 09:22:16 +0000 (09:22 +0000)]
gator-driver: Fix build failure on Linux 3.3

Some meminfo tracepoint APIs were renamed in b413d48a (mm-tracepoint:
rename page-free events)

Signed-off-by: Wade Cherry <wade.cherry@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agoMerge branch 'master' into android
Jon Medhurst [Thu, 23 Feb 2012 11:45:07 +0000 (11:45 +0000)]
Merge branch 'master' into android

9 years agodaemon: Fix counters initialisation
Wade Cherry [Thu, 23 Feb 2012 09:56:29 +0000 (09:56 +0000)]
daemon: Fix counters initialisation

In certain circumstances counter were not enabled correctly. Fixed.

Signed-off-by: Wade Cherry <wade.cherry@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
9 years agoMerge branch 'master' into android
Jon Medhurst [Mon, 20 Feb 2012 13:02:10 +0000 (13:02 +0000)]
Merge branch 'master' into android

Conflicts:
driver/gator_main.c

9 years agogator-daemon: ARM DS-5.9 Streamline gator daemon (RC2)
Jon Medhurst [Mon, 20 Feb 2012 12:58:11 +0000 (12:58 +0000)]
gator-daemon: ARM DS-5.9 Streamline gator daemon (RC2)

9 years agogator-driver: ARM DS-5.9 Streamline gator driver (RC2)
Jon Medhurst [Mon, 20 Feb 2012 12:57:24 +0000 (12:57 +0000)]
gator-driver: ARM DS-5.9 Streamline gator driver (RC2)

9 years agogator-driver: Fix Exynos4 L2C310 physical address
Pawel Moll [Wed, 14 Dec 2011 09:41:10 +0000 (09:41 +0000)]
gator-driver: Fix Exynos4 L2C310 physical address

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agoMerge branch 'master' into android
Jon Medhurst [Mon, 12 Dec 2011 07:54:58 +0000 (07:54 +0000)]
Merge branch 'master' into android

9 years agogator-driver: Fixes compilation issue on 3.2rc kernel
Vishal Bhoj [Sun, 11 Dec 2011 07:54:32 +0000 (13:24 +0530)]
gator-driver: Fixes compilation issue on 3.2rc kernel

Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
9 years agogator-driver: Disable event-base sampling support
Pawel Moll [Wed, 16 Nov 2011 12:38:18 +0000 (12:38 +0000)]
gator-driver: Disable event-base sampling support

... due to changes in 3.1 Linaro kernel PMU API.

This is a temporary measure.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator-driver: ARM DS-5.8 Streamline gator driver (RC1)
Pawel Moll [Thu, 17 Nov 2011 18:14:03 +0000 (18:14 +0000)]
gator-driver: ARM DS-5.8 Streamline gator driver (RC1)

9 years agogator-daemon: ARM DS-5.8 Streamline gator daemon (RC1)
Pawel Moll [Thu, 17 Nov 2011 18:13:23 +0000 (18:13 +0000)]
gator-daemon: ARM DS-5.8 Streamline gator daemon (RC1)

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator: Move README to top directory
Pawel Moll [Mon, 14 Nov 2011 10:46:16 +0000 (10:46 +0000)]
gator: Move README to top directory

... as it applies to both driver and daemon now.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator-daemon: ARM DS-5.7 Streamline gator daemon sources
Pawel Moll [Fri, 30 Sep 2011 10:57:10 +0000 (11:57 +0100)]
gator-daemon: ARM DS-5.7 Streamline gator daemon sources

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator-driver: ARM DS-5.7 Streamline gator driver sources
Pawel Moll [Fri, 30 Sep 2011 10:53:40 +0000 (11:53 +0100)]
gator-driver: ARM DS-5.7 Streamline gator driver sources

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator: Move driver sources to a separate directory
Pawel Moll [Fri, 30 Sep 2011 10:47:12 +0000 (11:47 +0100)]
gator: Move driver sources to a separate directory

... in prepration for daemon sources.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agogator: ARM DS-5.6 Streamline gator driver
Pawel Moll [Wed, 3 Aug 2011 10:30:26 +0000 (11:30 +0100)]
gator: ARM DS-5.6 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
10 years agogator: ARM DS-5.5 Streamline gator driver
Pawel Moll [Fri, 27 May 2011 15:30:10 +0000 (16:30 +0100)]
gator: ARM DS-5.5 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
10 years agogator: ARM DS-5.4 Streamline gator driver
Pawel Moll [Mon, 14 Mar 2011 15:22:44 +0000 (15:22 +0000)]
gator: ARM DS-5.4 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
10 years agogator: ARM DS-5.3 Streamline gator driver
Pawel Moll [Mon, 14 Mar 2011 15:21:50 +0000 (15:21 +0000)]
gator: ARM DS-5.3 Streamline gator driver

Signed-off-by: Pawel Moll <pawel.moll@arm.com>