cxl/test: Simulate event log overflow
authorIra Weiny <ira.weiny@intel.com>
Wed, 18 Jan 2023 05:53:43 +0000 (21:53 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 27 Jan 2023 00:51:08 +0000 (16:51 -0800)
commitbab2a5e6fe7fddc00be0356bd538e38161bab085
tree8c1f535e533a364643e4cd860479a995c68e9873
parent0092f62acc31ada89af09fe84b65999b8f434dd9
cxl/test: Simulate event log overflow

Log overflow is marked by a separate trace message.

Simulate a log with lots of messages and flag overflow until space is
cleared.

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20221216-cxl-ev-log-v7-8-2316a5c8f7d8@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/cxl/test/mem.c