Re: [i-g-t PATCH 2/3] igt/igt_core: Provide an option to check for the log buffer contents

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 06, 2017 at 11:54:13AM +0300, Abdiel Janulgue wrote:
> Signed-off-by: Abdiel Janulgue <abdiel.janulgue@xxxxxxxxxxxxxxx>
> ---
>  lib/igt_core.c | 24 ++++++++++++++++++++++++
>  lib/igt_core.h |  3 +++
>  2 files changed, 27 insertions(+)
> 
> diff --git a/lib/igt_core.c b/lib/igt_core.c
> index 26f7fc5..94f5529 100644
> --- a/lib/igt_core.c
> +++ b/lib/igt_core.c
> @@ -329,6 +329,30 @@ static void _igt_log_buffer_dump(void)
>  	pthread_mutex_unlock(&log_buffer_mutex);
>  }
>  
> +/**
> + * igt_log_buffer_inspect:
> + *
> + * Provides a way to replay the internal igt log buffer for inspection.
> + * @check: A user-specified handler that gets invoked for each line of
> +           the log buffer. The handler should return true to stop
> +           inspecting the rest of the buffer.

Looks like we have an asterisk even for the indented lines elsewhere.

With the above nitpick
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@xxxxxxxxx>


-- 
Cheers,
Arek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux