trace-cmd record: Fix compression when files are greater than 2GB

Several file size references in the compression code is defined as "int",
but that can only be used for sizes less than 2GB. Convert them to size_t
and ssize_t. Also convert some long long and unsigned long long to use
ssize_t and size_t respectively for consistency.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=219264

Link: https://lore.kernel.org/[email protected]
Reported-by: Arnaud Lefebvre <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
6 files changed