| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Use put_task_struct/get_task_struct to ensure the task_struct pointer
is still valid. Change translate_buffer to ensure that both arguments
are written atomically. Drop additional requests if the
translate_buffer is full.
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
| |
In Linux 3.12 the local timer API was removed by commit 060fd304
(ARM: smp: Remove local timer API) so disable the check for this as it
stops compilation.
We need the check for kernels before 3.12 because otherwise we would
get incorrect timing information on A5/A9.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When IKS support is enabled in gator but we are running on boards
without a device-tree or where there are no cpu nodes in the
device-tree, then calc_first_cluster_size will call BUG_ON() because
mpidr_cpuids_count == 0.
To work around this, we will instead set a flag to indicate we haven't
managed to create an mpidr table and fallback to the behaviour we would
have if IKS wasn't enabled. This means that IKS support will only
function as expected if there are device-tree nodes for CPUs but we
expect that to always be the case anyway.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
This helps us avoid probing hard coded addresses which can cause
data aborts and crash the system, as happens on the A9 RTSM.
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
| |
... 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
New gator release (build 1385) for ARM DS-5 v5.10
Signed-off-by: Jon Medhurst <tixy@linaro.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
| |
... as it applies to both driver and daemon now.
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
|
|
|
|
| |
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
|
|
... in prepration for daemon sources.
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
|