diff options
author | Robert Richter <robert.richter@amd.com> | 2009-01-05 10:35:31 +0100 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-01-07 22:47:23 +0100 |
commit | 1acda878e20ea0cd3708ba66dca67d52eaafdd2b (patch) | |
tree | 97eb93396efc357f91dbd0ce080a5df51f29fd9b /drivers/oprofile/cpu_buffer.h | |
parent | bd7dc46f770d317ada1348294ff1f319243b803b (diff) | |
download | linux-exynos-1acda878e20ea0cd3708ba66dca67d52eaafdd2b.tar.gz linux-exynos-1acda878e20ea0cd3708ba66dca67d52eaafdd2b.tar.bz2 linux-exynos-1acda878e20ea0cd3708ba66dca67d52eaafdd2b.zip |
oprofile: use new data sample format for ibs
The new ring buffer implementation allows the storage of samples with
different size. This patch implements the usage of the new sample
format to store ibs samples in the cpu buffer. Until now, writing to
the cpu buffer could lead to incomplete sampling sequences since IBS
samples were transfered in multiple samples. Due to a full buffer,
data could be lost at any time. This can't happen any more since the
complete data is reserved in advance and then stored in a single
sample.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.h')
-rw-r--r-- | drivers/oprofile/cpu_buffer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/oprofile/cpu_buffer.h b/drivers/oprofile/cpu_buffer.h index f34376046573..525cc4d13d8d 100644 --- a/drivers/oprofile/cpu_buffer.h +++ b/drivers/oprofile/cpu_buffer.h @@ -115,7 +115,5 @@ int op_cpu_buffer_get_data(struct op_entry *entry, unsigned long *val) #define IS_KERNEL (1UL << 1) #define TRACE_BEGIN (1UL << 2) #define USER_CTX_SWITCH (1UL << 3) -#define IBS_FETCH_BEGIN (1UL << 4) -#define IBS_OP_BEGIN (1UL << 5) #endif /* OPROFILE_CPU_BUFFER_H */ |