Checking patch benchtests/bench-malloc-thread.c... Hunk #1 succeeded at 128 (offset 5 lines). Hunk #2 succeeded at 152 (offset 5 lines). Hunk #3 succeeded at 190 (offset 5 lines). Hunk #4 succeeded at 200 (offset 5 lines). Hunk #5 succeeded at 212 (offset 5 lines). Hunk #6 succeeded at 230 (offset 5 lines). Hunk #7 succeeded at 244 (offset 5 lines). Hunk #8 succeeded at 294 (offset 5 lines). error: while searching for: else usage(argv[0]); init_random_values (); json_init (&json_ctx, 0, stdout); json_document_begin (&json_ctx); json_attr_string (&json_ctx, "timing_type", TIMING_TYPE); json_attr_object_begin (&json_ctx, "functions"); json_attr_object_begin (&json_ctx, "malloc"); json_attr_object_begin (&json_ctx, ""); memset (&act, 0, sizeof (act)); act.sa_handler = &alarm_handler; sigaction (SIGALRM, &act, NULL); alarm (BENCHMARK_DURATION); cur = do_benchmark (num_threads, &iters); struct rusage usage; getrusage(RUSAGE_SELF, &usage); d_total_s = cur; d_total_i = iters; json_attr_double (&json_ctx, "duration", d_total_s); json_attr_double (&json_ctx, "iterations", d_total_i); json_attr_double (&json_ctx, "time_per_iteration", d_total_s / d_total_i); json_attr_double (&json_ctx, "max_rss", usage.ru_maxrss); json_attr_double (&json_ctx, "threads", num_threads); json_attr_double (&json_ctx, "min_size", MIN_ALLOCATION_SIZE); json_attr_double (&json_ctx, "max_size", MAX_ALLOCATION_SIZE); json_attr_double (&json_ctx, "random_seed", RAND_SEED); json_attr_object_end (&json_ctx); json_attr_object_end (&json_ctx); json_attr_object_end (&json_ctx); error: patch failed: benchtests/bench-malloc-thread.c:246 error: benchtests/bench-malloc-thread.c: patch does not apply