diff options
author | Jarkko Sakkinen <[email protected]> | 2021-11-15 10:35:18 -0800 |
---|---|---|
committer | Dave Hansen <[email protected]> | 2021-11-15 11:34:04 -0800 |
commit | 1471721489090515f9f0f059b25124898928e559 (patch) | |
tree | 6f5d182cc6bdc53349931b7a368a5e041403c62b /net/lapb/lapb_in.c | |
parent | 3200505d4de6436af799d7be743d9dc87450ee5a (diff) |
selftests/sgx: Dump segments and /proc/self/maps only on failure
Logging is always a compromise between clarity and detail. The main use
case for dumping VMA's is when FIXTURE_SETUP() fails, and is less important
for enclaves that do initialize correctly. Therefore, print the segments
and /proc/self/maps only in the error case.
Finally, if a single test ever creates multiple enclaves, the amount of
log lines would become enormous.
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Reinette Chatre <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Acked-by: Dave Hansen <[email protected]>
Link: https://lkml.kernel.org/r/23cef0ae1de3a8a74cbfbbe74eca48ca3f300fde.1636997631.git.reinette.chatre@intel.com
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions