android-sdk/arm-ds5-gator.git
8 years agogator-daemon: Add files missing from original commit of DS-5.13
Jon Medhurst [Tue, 15 Jan 2013 11:03:10 +0000 (11:03 +0000)]
gator-daemon: Add files missing from original commit of DS-5.13

8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +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>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.13
Jon Medhurst [Mon, 14 Jan 2013 08:34:37 +0000 (08:34 +0000)]
gator: Version 5.13

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agoMerge branch 'master' into android
Jon Medhurst [Mon, 14 Jan 2013 17:16:24 +0000 (17:16 +0000)]
Merge branch 'master' into android

8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +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>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.13
Jon Medhurst [Mon, 14 Jan 2013 08:34:37 +0000 (08:34 +0000)]
gator: Version 5.13

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agoMerge branch 'master' into android
Jon Medhurst [Mon, 5 Nov 2012 11:20:25 +0000 (11:20 +0000)]
Merge branch 'master' into android

8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +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>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator-driver: Stop using VM_EXECUTABLE
Jon Medhurst [Thu, 25 Oct 2012 09:42:03 +0000 (10:42 +0100)]
gator-driver: Stop using VM_EXECUTABLE

In Linux 3.7, commit e9714acf (mm: kill vma flag VM_EXECUTABLE and
mm->num_exe_file_vmas) breaks Gator's get_exec_cookie() as it uses the
removed flag.

Fix this in a similar as commit 2dd8ad81 (mm: use mm->exe_file instead
of first VM_EXECUTABLE vma->vm_file)

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.12
Jon Medhurst [Fri, 26 Oct 2012 16:05:14 +0000 (17:05 +0100)]
gator: Version 5.12

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agoMerge branch 'master' into android
Jon Medhurst [Fri, 10 Aug 2012 13:46:05 +0000 (14:46 +0100)]
Merge branch 'master' into android

8 years agogator-driver: Default GATOR_MALI_INTERFACE_STYLE to '2'
Jon Medhurst [Fri, 11 May 2012 14:24:24 +0000 (15:24 +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>
8 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agogator: Version 5.11
Jon Medhurst [Fri, 10 Aug 2012 08:31:24 +0000 (09:31 +0100)]
gator: Version 5.11

Signed-off-by: Jon Medhurst <tixy@linaro.org>
8 years agoMerge branch 'master' into android
Jon Medhurst [Fri, 13 Jul 2012 09:57:08 +0000 (10:57 +0100)]
Merge branch 'master' into android

8 years agogator-driver: Move work scheduling to timers
Wade Cherry [Thu, 12 Jul 2012 15:29:16 +0000 (16:29 +0100)]
gator-driver: Move work scheduling to timers

... in order to work around deadlocks in kernel >= 3.5...

Signed-off-by: Wade Cherry <wade.cherry@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
9 years agoMerge branch 'master' into android
Jon Medhurst [Fri, 18 May 2012 08:07:18 +0000 (09:07 +0100)]
Merge branch 'master' into android

9 years agogator-driver: Revert #error about lack of CONFIG_PERF_EVENTS
Jon Medhurst [Fri, 18 May 2012 08:06:15 +0000 (09:06 +0100)]
gator-driver: Revert #error about lack of CONFIG_PERF_EVENTS

Make this a #warning as in version 5.9. This lets Gator build (with
much reduced functionality) on platforms which require
CONFIG_PERF_EVENTS to be disabled for whatever reason.

Signed-off-by: Jon Medhurst <tixy@linaro.org>
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>