numam-spdk/lib/blobfs
Konrad Sztyber 3e158bd5c9 lib/trace: record string arguments as (const char *)
Now that `spdk_trace_record` receives variadic arguments, we no longer
have to pass strings as uint64_t, but can pass them directly as
pointers.  That also means that the recorded strings can be longer than
8B (up to 40B).

This patch changes the blobfs code to pass the filenames as strings and
gets rid of the code that converted them to uint64_t.

Additionally, the maximum length of string arguments printed by
`app/trace/trace` has been extended to 16 and they're also padded to 16
characters, to better align with other argument types.

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: Ibe94452bf1b27eba2b15ca8608d0c3b55c2db360
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7957
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2021-06-28 16:17:35 +00:00
..
blobfs.c lib/trace: record string arguments as (const char *) 2021-06-28 16:17:35 +00:00
Makefile so_ver: increase all major versions 2021-02-05 14:43:47 +00:00
spdk_blobfs.map lib/blobfs: add a map file. 2020-04-22 09:21:55 +00:00
tree.c lib/blobfs: remove legacy config support 2020-10-20 02:42:16 +00:00
tree.h lib/blobfs: remove legacy config support 2020-10-20 02:42:16 +00:00