summaryrefslogtreecommitdiff
path: root/perf.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2016-12-26 10:26:03 +0000
committerDmitry V. Levin <ldv@altlinux.org>2016-12-26 10:43:34 +0000
commit7fa3d78319b20a996923f9b665afc3a3571ed08b (patch)
treec1fcdd2b642ebc521fea460e8aa26a0a5295270c /perf.c
parente625443bb501c99e3cbed7cf041ef3036c7955f0 (diff)
downloadstrace-7fa3d78319b20a996923f9b665afc3a3571ed08b.tar.gz
Automatically replace kernel_(scno|ureg)_t with kernel_ulong_t
Remove temporary types created for transition from long to kernel_ulong_t. Automatically replace kernel_scno_t and kernel_ureg_t with kernel_ulong_t using $ git grep -El 'kernel_(scno|ureg)_t' | xargs sed -ri 's/kernel_(scno|ureg)_t/kernel_ulong_t/g' * kernel_types.h (kernel_scno_t, kernel_ureg_t): Remove. All users updated.
Diffstat (limited to 'perf.c')
-rw-r--r--perf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perf.c b/perf.c
index b01e593e8..f151c198f 100644
--- a/perf.c
+++ b/perf.c
@@ -61,7 +61,7 @@ free_pea_desc(void *pea_desc_ptr)
}
static int
-fetch_perf_event_attr(struct tcb *const tcp, const kernel_ureg_t addr)
+fetch_perf_event_attr(struct tcb *const tcp, const kernel_ulong_t addr)
{
struct pea_desc *desc;
struct perf_event_attr *attr;
@@ -118,7 +118,7 @@ fetch_perf_event_attr(struct tcb *const tcp, const kernel_ureg_t addr)
} while (0)
static void
-print_perf_event_attr(struct tcb *const tcp, const kernel_ureg_t addr)
+print_perf_event_attr(struct tcb *const tcp, const kernel_ulong_t addr)
{
static const char *precise_ip_desc[] = {
"arbitrary skid",