/* lock oriented handlers */
/* TODO: handlers for CPU oriented, thread oriented */
-static struct trace_lock_handler report_lock_ops = {
+static const struct trace_lock_handler report_lock_ops = {
.acquire_event = report_lock_acquire_event,
.acquired_event = report_lock_acquired_event,
.contended_event = report_lock_contended_event,
.contention_end_event = report_lock_contention_end_event,
};
-static struct trace_lock_handler contention_lock_ops = {
+static const struct trace_lock_handler contention_lock_ops = {
.contention_begin_event = report_lock_contention_begin_event,
.contention_end_event = report_lock_contention_end_event,
};
-static struct trace_lock_handler *trace_handler;
+static const struct trace_lock_handler *trace_handler;
static int evsel__process_lock_acquire(struct perf_sample *sample)
{