linux/fs/cachefiles
David Howells ecf5a6ce15 cachefiles: Add a couple of tracepoints for logging errors
Add two trace points to log errors, one for vfs operations like mkdir or
create, and one for I/O operations, like read, write or truncate.

Also add the beginnings of a struct that is going to represent a data file
and place a debugging ID in it for the tracepoints to record.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
cc: linux-cachefs@redhat.com
Link: https://lore.kernel.org/r/163819625632.215744.17907340966178411033.stgit@warthog.procyon.org.uk/ # v1
Link: https://lore.kernel.org/r/163906926297.143852.18267924605548658911.stgit@warthog.procyon.org.uk/ # v2
Link: https://lore.kernel.org/r/163967135390.1823006.2512120406360156424.stgit@warthog.procyon.org.uk/ # v3
Link: https://lore.kernel.org/r/164021534029.640689.1875723624947577095.stgit@warthog.procyon.org.uk/ # v4
2022-01-07 13:41:01 +00:00
..
error_inject.c cachefiles: Add some error injection support 2022-01-07 13:40:56 +00:00
internal.h cachefiles: Add a couple of tracepoints for logging errors 2022-01-07 13:41:01 +00:00
Kconfig cachefiles: Add some error injection support 2022-01-07 13:40:56 +00:00
main.c cachefiles: Add some error injection support 2022-01-07 13:40:56 +00:00
Makefile cachefiles: Add some error injection support 2022-01-07 13:40:56 +00:00