Revision 7e24e92a configure
b/configure | ||
---|---|---|
903 | 903 |
echo " --disable-docs disable documentation build" |
904 | 904 |
echo " --disable-vhost-net disable vhost-net acceleration support" |
905 | 905 |
echo " --enable-vhost-net enable vhost-net acceleration support" |
906 |
echo " --trace-backend=B Trace backend nop simple" |
|
906 |
echo " --trace-backend=B Trace backend nop simple ust"
|
|
907 | 907 |
echo " --trace-file=NAME Full PATH,NAME of file to store traces" |
908 | 908 |
echo " Default:trace-<pid>" |
909 | 909 |
echo "" |
... | ... | |
2080 | 2080 |
exit 1 |
2081 | 2081 |
fi |
2082 | 2082 |
|
2083 |
########################################## |
|
2084 |
# For 'ust' backend, test if ust headers are present |
|
2085 |
if test "$trace_backend" = "ust"; then |
|
2086 |
cat > $TMPC << EOF |
|
2087 |
#include <ust/tracepoint.h> |
|
2088 |
#include <ust/marker.h> |
|
2089 |
int main(void) { return 0; } |
|
2090 |
EOF |
|
2091 |
if compile_prog "" "" ; then |
|
2092 |
LIBS="-lust $LIBS" |
|
2093 |
else |
|
2094 |
echo |
|
2095 |
echo "Error: Trace backend 'ust' missing libust header files" |
|
2096 |
echo |
|
2097 |
exit 1 |
|
2098 |
fi |
|
2099 |
fi |
|
2100 |
########################################## |
|
2083 | 2101 |
# End of CC checks |
2084 | 2102 |
# After here, no more $cc or $ld runs |
2085 | 2103 |
|
Also available in: Unified diff