Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change "variable.tracepoint arg casts in predicates" runtime test
The test currently checks on '@' output only and generates wait tracepoint by calling "sleep 1 || wait $!", which on my fedora does not add 'struct rusage' argument. Adding simple wait4_ru.c program to testprogs that calls wait4 with 'struct rusage' argument and generates the proper argument for the test. Changing bpftrace invocation to run wait4_ru via -c option, so we are sure we will get the single count.
- Loading branch information