QA output created by 1705

=== bpftrace agent installation ===
Updating the Performance Metrics Name Space (PMNS) ...
Terminate PMDA if already installed ...
[...install files, make output...]
Updating the PMCD control file, and notifying PMCD ...
Check bpftrace metrics have appeared ... 7 metrics and X values

=== bpftrace script without variabes ===
"error": "no bpftrace variables or printf statements found, please include at least one variable or printf statement in your script"

=== invalid probe ===
bpftrace.control.register old value="{}" new value="// name: test2
does_not_exist { @c = count(); }"
found metric bpftrace.scripts.test2.status with matching value "error"
error message (invalid probe) found

bpftrace.scripts.test2.exit_code
    value 1

=== syntax error ===
bpftrace.control.register old value="{}" new value="// name: test3
tracepoint:raw_syscalls:sys_enter { @c = count(; }"
found metric bpftrace.scripts.test3.status with matching value "error"

bpftrace.scripts.test3.error
    value "stdin:2:42-49: ERROR: syntax error, unexpected ;
tracepoint:raw_syscalls:sys_enter { @c = count(; }
                                         ~~~~~~~"

bpftrace.scripts.test3.exit_code
    value 1

=== too many attached tracepoints ===
bpftrace.control.register old value="{}" new value="// name: test4
kprobe:* { @c = count(); }"
found metric bpftrace.scripts.test4.status with matching value "error"

bpftrace.scripts.test4.error
    value "Can't attach to PROBES probes because it exceeds the current limit of PROBES probes.
You can increase the limit through the BPFTRACE_MAX_PROBES environment variable, but BE CAREFUL since a high number of probes attached can cause your system to crash."

bpftrace.scripts.test4.exit_code
    value 1

=== too much output ===
bpftrace.control.register old value="{}" new value="// name: test5
profile:hz:9999 { printf("test"); }"
found metric bpftrace.scripts.test5.status with matching value "error"

bpftrace.scripts.test5.error
    value "BPFtrace output exceeds limit of LIMIT bytes per second"

=== duplicate script name ===
bpftrace.control.register old value="{}" new value="// name: test6
tracepoint:raw_syscalls:sys_enter { @x = count() }"
"error": "Script name test6 is already in use by another script."


=== remove bpftrace agent ===
Culling the Performance Metrics Name Space ...
bpftrace ... done
Updating the PMCD control file, and notifying PMCD ...
[...removing files...]
Check bpftrace metrics have gone away ... OK
