Loading .vscode/c_cpp_properties.json 0 → 100644 +18 −0 Original line number Diff line number Diff line { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/include/", "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_deps/install/include/**" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "c11", "cppStandard": "c++14", "intelliSenseMode": "gcc-x64", "configurationProvider": "ms-vscode.cmake-tools" } ], "version": 4 } No newline at end of file .vscode/launch.json 0 → 100644 +93 −0 Original line number Diff line number Diff line { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "gekkofs daemon", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/src/daemon/gkfs_daemon", "args": [ "-r", "/dev/shm/gkfs_rootdir", "-m", "/dev/shm/gkfs_mountdir", "-H", "/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile", "-l", "enp0s25", "--shuffle", ], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ {"name": "GKFS_DAEMON_LOG_PATH", "value": "/dev/shm/dauer_gkfs_daemon_vsdebug.log"} ], /* GKFS_DAEMON_LOG_PATH=/dev/shm/dauer_gkfs_daemon.log ((/run/media/da/rocket1tb/gekko-localinstall/gekkofs/build/src/daemon/gkfs_daemon )) -r /dev/shm/gkfs_rootdir -m /dev/shm/gkfs_mountdir -H /run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile -l enp0s25' */ "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, { "name": "test gekkofs client debug", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/src/client_debug_helper/client_debug_helper", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ {"name": "LD_PRELOAD", "value": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs/build/src/client/libgkfs_intercept.so",}, {"name": "LIBGKFS_LOG", "value": "info"}, //most {"name": "LIBGKFS_HOSTS_FILE", "value": "/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile"}, {"name": "LIBGKFS_LOG_OUTPUT", "value": "/dev/shm/dauer_gkfs_client_debug.log"}, ], /* #export LIBGKFS_LOG=info export LIBGKFS_LOG=most export LIBGKFS_HOSTS_FILE=/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile export LIBGKFS_LOG_OUTPUT=/dev/shm/dauer_gkfs_client.log */ "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, { "name": "just run the helper", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/src/client_debug_helper/client_debug_helper", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ ], "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, ] } .vscode/settings.json 0 → 100644 +54 −0 Original line number Diff line number Diff line { "cmake.generator": "Unix Makefiles", "cmake.configureSettings": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_PREFIX_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_deps/install", "USE_SHM": "OFF", "DRPC_PROTOCOL": "ofi+sockets", //"CMAKE_MAKE_PROGRAM": "/usr/bin/gmake", }, "cmake.environment": { "LD_LIBRARY_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64:${env.LD_LIBRARY_PATH}", "C_INCLUDE_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPLUS_INCLUDE_PATH": "${env.CPLUS_INCLUDE_PATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPATH": "${env.CPATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "LIBRARY_PATH": "${env.LIBRARY_PATH}:/lib64:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64", "LDFLAGS": "-L/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib/", "CPPFLAGS": "-I/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include/", "CC": "/usr/bin/gcc", "CXX": "/usr/bin/g++", }, } /* https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html#var-subs raw INSTALL_PATH="/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install" export LD_LIBRARY_PATH=${INSTALL_PATH}/lib:${INSTALL_PATH}/lib64:${LD_LIBRARY_PATH} export C_INCLUDE_PATH=${INSTALL_PATH}/include export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:${INSTALL_PATH}/include export CPATH=$CPATH:${INSTALL_PATH}/include export LIBRARY_PATH=${LIBRARY_PATH}:/lib64:${INSTALL_PATH}/lib:${INSTALL_PATH}/lib64 export LDFLAGS="-L${INSTALL_PATH}/lib/" export CPPFLAGS="-I${INSTALL_PATH}/include/" export CC=$(which gcc) export CXX=$(which g++) substitutions INSTALL_PATH="/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install" "LD_LIBRARY_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64:${env.LD_LIBRARY_PATH}", "C_INCLUDE_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPLUS_INCLUDE_PATH": "${env.CPLUS_INCLUDE_PATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPATH": "${env.CPATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "LIBRARY_PATH": "${env.LIBRARY_PATH}:/lib64:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64", "LDFLAGS": "-L/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib/", "CPPFLAGS": "-I/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include/", CC=$(which gcc) CXX=$(which g++) */ No newline at end of file Loading
.vscode/c_cpp_properties.json 0 → 100644 +18 −0 Original line number Diff line number Diff line { "configurations": [ { "name": "Linux", "includePath": [ "${workspaceFolder}/include/", "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_deps/install/include/**" ], "defines": [], "compilerPath": "/usr/bin/gcc", "cStandard": "c11", "cppStandard": "c++14", "intelliSenseMode": "gcc-x64", "configurationProvider": "ms-vscode.cmake-tools" } ], "version": 4 } No newline at end of file
.vscode/launch.json 0 → 100644 +93 −0 Original line number Diff line number Diff line { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "gekkofs daemon", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/src/daemon/gkfs_daemon", "args": [ "-r", "/dev/shm/gkfs_rootdir", "-m", "/dev/shm/gkfs_mountdir", "-H", "/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile", "-l", "enp0s25", "--shuffle", ], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ {"name": "GKFS_DAEMON_LOG_PATH", "value": "/dev/shm/dauer_gkfs_daemon_vsdebug.log"} ], /* GKFS_DAEMON_LOG_PATH=/dev/shm/dauer_gkfs_daemon.log ((/run/media/da/rocket1tb/gekko-localinstall/gekkofs/build/src/daemon/gkfs_daemon )) -r /dev/shm/gkfs_rootdir -m /dev/shm/gkfs_mountdir -H /run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile -l enp0s25' */ "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, { "name": "test gekkofs client debug", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/src/client_debug_helper/client_debug_helper", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ {"name": "LD_PRELOAD", "value": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs/build/src/client/libgkfs_intercept.so",}, {"name": "LIBGKFS_LOG", "value": "info"}, //most {"name": "LIBGKFS_HOSTS_FILE", "value": "/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile"}, {"name": "LIBGKFS_LOG_OUTPUT", "value": "/dev/shm/dauer_gkfs_client_debug.log"}, ], /* #export LIBGKFS_LOG=info export LIBGKFS_LOG=most export LIBGKFS_HOSTS_FILE=/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile export LIBGKFS_LOG_OUTPUT=/dev/shm/dauer_gkfs_client.log */ "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, { "name": "just run the helper", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/src/client_debug_helper/client_debug_helper", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [ ], "externalConsole": false, "MIMode": "gdb", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, ] }
.vscode/settings.json 0 → 100644 +54 −0 Original line number Diff line number Diff line { "cmake.generator": "Unix Makefiles", "cmake.configureSettings": { "CMAKE_BUILD_TYPE": "Debug", "CMAKE_PREFIX_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_deps/install", "USE_SHM": "OFF", "DRPC_PROTOCOL": "ofi+sockets", //"CMAKE_MAKE_PROGRAM": "/usr/bin/gmake", }, "cmake.environment": { "LD_LIBRARY_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64:${env.LD_LIBRARY_PATH}", "C_INCLUDE_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPLUS_INCLUDE_PATH": "${env.CPLUS_INCLUDE_PATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPATH": "${env.CPATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "LIBRARY_PATH": "${env.LIBRARY_PATH}:/lib64:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64", "LDFLAGS": "-L/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib/", "CPPFLAGS": "-I/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include/", "CC": "/usr/bin/gcc", "CXX": "/usr/bin/g++", }, } /* https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html#var-subs raw INSTALL_PATH="/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install" export LD_LIBRARY_PATH=${INSTALL_PATH}/lib:${INSTALL_PATH}/lib64:${LD_LIBRARY_PATH} export C_INCLUDE_PATH=${INSTALL_PATH}/include export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:${INSTALL_PATH}/include export CPATH=$CPATH:${INSTALL_PATH}/include export LIBRARY_PATH=${LIBRARY_PATH}:/lib64:${INSTALL_PATH}/lib:${INSTALL_PATH}/lib64 export LDFLAGS="-L${INSTALL_PATH}/lib/" export CPPFLAGS="-I${INSTALL_PATH}/include/" export CC=$(which gcc) export CXX=$(which g++) substitutions INSTALL_PATH="/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install" "LD_LIBRARY_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64:${env.LD_LIBRARY_PATH}", "C_INCLUDE_PATH": "/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPLUS_INCLUDE_PATH": "${env.CPLUS_INCLUDE_PATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "CPATH": "${env.CPATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include", "LIBRARY_PATH": "${env.LIBRARY_PATH}:/lib64:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64", "LDFLAGS": "-L/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib/", "CPPFLAGS": "-I/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include/", CC=$(which gcc) CXX=$(which g++) */ No newline at end of file