trace-cmd utest: Add PATH_MAX if it is not already defined

In some setups PATH_MAX may not be defined (it is usually defined in
linux/limits.h), but we just use PATH_MAX as something to hold the paths
to the tracing files. In that case, just define it to 1024 if it's not
already defined.

Link: https://lore.kernel.org/linux-trace-devel/[email protected]/
Link: https://lore.kernel.org/linux-trace-devel/[email protected]

Reported-by: Miko Larsson <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 file changed