Merge branch 'linus' into perf/core
[platform/adaptation/renesas_rcar/renesas_kernel.git] / tools / perf / util / callchain.c
index 52c777e..f231f43 100644 (file)
@@ -18,7 +18,7 @@
 #include "util.h"
 #include "callchain.h"
 
-bool ip_callchain__valid(struct ip_callchain *chain, event_t *event)
+bool ip_callchain__valid(struct ip_callchain *chain, const event_t *event)
 {
        unsigned int chain_size = event->header.size;
        chain_size -= (unsigned long)&event->ip.__more_data - (unsigned long)event;