diff options
author | Jon Medhurst <tixy@linaro.org> | 2015-05-08 12:04:18 +0100 |
---|---|---|
committer | Jon Medhurst <tixy@linaro.org> | 2015-05-08 12:04:18 +0100 |
commit | b1d07441d04e4116638a1fc162cb7c6e55b2915a (patch) | |
tree | 21e00496086efa1b6627715e9d6b12f833be9c34 /drivers/gator/gator_events_meminfo.c | |
parent | 96b56157b38cffced997ffa71fdd4bf71024fc67 (diff) |
gator: Version 5.21.1
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
Diffstat (limited to 'drivers/gator/gator_events_meminfo.c')
-rw-r--r-- | drivers/gator/gator_events_meminfo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gator/gator_events_meminfo.c b/drivers/gator/gator_events_meminfo.c index c625ac5af9cd..985b312ab92b 100644 --- a/drivers/gator/gator_events_meminfo.c +++ b/drivers/gator/gator_events_meminfo.c @@ -1,5 +1,5 @@ /** - * Copyright (C) ARM Limited 2010-2014. All rights reserved. + * Copyright (C) ARM Limited 2010-2015. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -58,6 +58,8 @@ static ulong proc_enabled[PROC_COUNT]; static ulong proc_keys[PROC_COUNT]; static DEFINE_PER_CPU(long long, proc_buffer[2 * (PROC_COUNT + 3)]); +static void do_read(void); + #if USE_THREAD static int gator_meminfo_func(void *data); @@ -177,6 +179,7 @@ static int gator_events_meminfo_start(void) if (GATOR_REGISTER_TRACE(mm_page_alloc)) goto mm_page_alloc_exit; + do_read(); #if USE_THREAD /* Start worker thread */ gator_meminfo_run = true; |