[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1347028169-1983-4-git-send-email-eranian@google.com>
Date: Fri, 7 Sep 2012 16:29:29 +0200
From: Stephane Eranian <eranian@...gle.com>
To: linux-kernel@...r.kernel.org
Cc: peterz@...radead.org, mingo@...e.hu, ak@...ux.intel.com,
zheng.z.yan@...el.com, robert.richter@....com
Subject: [PATCH 3/3] perf: remove jiffies_interval
Obsolete because superseded by hrtimer based
multiplexing.
Signed-off-by: Stephane Eranian <eranian@...gle.com>
---
include/linux/perf_event.h | 1 -
kernel/events/core.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 21c3bb0..b0cb209 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1107,7 +1107,6 @@ struct perf_cpu_context {
int active_oncpu;
int exclusive;
struct list_head rotation_list;
- int jiffies_interval;
struct pmu *active_pmu;
struct perf_cgroup *cgrp;
};
diff --git a/kernel/events/core.c b/kernel/events/core.c
index fd53509..e0db140 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -6126,7 +6126,6 @@ int perf_pmu_register(struct pmu *pmu, char *name, int type)
lockdep_set_class(&cpuctx->ctx.lock, &cpuctx_lock);
cpuctx->ctx.type = cpu_context;
cpuctx->ctx.pmu = pmu;
- cpuctx->jiffies_interval = 1;
INIT_LIST_HEAD(&cpuctx->rotation_list);
cpuctx->active_pmu = pmu;
}
--
1.7.5.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists