diff options
Diffstat (limited to 'testsuites/libtests/record02/init.c')
-rw-r--r-- | testsuites/libtests/record02/init.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/testsuites/libtests/record02/init.c b/testsuites/libtests/record02/init.c index 220e240d60..22671a7c0a 100644 --- a/testsuites/libtests/record02/init.c +++ b/testsuites/libtests/record02/init.c @@ -33,7 +33,6 @@ #include <rtems/recordclient.h> #include <rtems.h> -#include <stdlib.h> #include <string.h> #include "tmacros.h" @@ -95,24 +94,6 @@ static void drain_visitor( rtems_test_assert(cs == RTEMS_RECORD_CLIENT_SUCCESS); } -static void call_malloc_functions(void) -{ - void *p; - int eno; - - p = aligned_alloc(1, 1); - free(p); - p = calloc(1, 1); - free(p); - p = malloc(1); - free(p); - eno = posix_memalign(&p, 32, 32); - rtems_test_assert(eno == 0); - free(p); - p = realloc(NULL, 1); - free(p); -} - static void Init(rtems_task_argument arg) { test_context *ctx; @@ -180,8 +161,6 @@ static void Init(rtems_task_argument arg) level = rtems_record_interrupt_disable(); rtems_record_interrupt_enable(level); - call_malloc_functions(); - rtems_record_client_init(&ctx->client, client_handler, NULL); size = _Record_Stream_header_initialize(&header); cs = rtems_record_client_run(&ctx->client, &header, size); @@ -203,7 +182,7 @@ static void Init(rtems_task_argument arg) #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_RECORD_PER_PROCESSOR_ITEMS 512 +#define CONFIGURE_RECORD_PER_PROCESSOR_ITEMS 256 #define CONFIGURE_RECORD_EXTENSIONS_ENABLED |