linuxperfstudy / lebench Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I think the intention of the following two lines is to concat the two paths and make the test directory like <home>/<sock>
Lines 905 to 906 in c0663d1
Should this be instead:
strncpy(server_addr.sun_path, home, sizeof(server_addr.sun_path) - 1);
strncat(server_addr.sun_path, sock, sizeof(server_addr.sun_path) - 1);
since we want to concat the paths, instead of overwriting the path?
Thanks! Love the paper and really appreciate the enourmous amount of work you guys needed to do for that!
Hi,
I tried this repo by the following steps in README.md
However it showed up as:
wenhui@wenhui:~/Desktop/LEBench$ sudo python run.py
[sudo] password for wenhui:
[DEBUG] Running at kernel index: 2
[DEBUG] Done writing kernel index 3 for the next iteration.
[INFO] --------------------------------------------------
[INFO] Starting LEBench tests
[INFO] Current time: 13:24:37.205614
[INFO] current kernel version: 5.0.0-32-generic.
[INFO] Preparing to run test OS_Eval.
[INFO] Compiling test OS_Eval.c.
make: Entering directory '/home/wenhui/Desktop/LEBench/TEST_DIR'
gcc -o OS_Eval -pthread -O0 OS_Eval.c
make: Leaving directory '/home/wenhui/Desktop/LEBench/TEST_DIR'
[INFO] Running test with command: /home/wenhui/Desktop/LEBench//TEST_DIR/OS_Eval 0 5.0.0-32-generic
[INFO] Finished running test OS_Eval, test returned -11, log written to: /home/wenhui/Desktop/LEBench//RESULT_DIR/5.0.0-32-generic.
[INFO] Current time: 13:24:37.615421
[DEBUG] Preparing to modify grub.
[INFO] LEBench run concluded, finished testing on 3 kernels.
wenhui@wenhui:~/Desktop/LEBench$ ls
get_kern.py grub LEBench.out RESULT_DIR template
graphs kern_list README.md run.py TEST_DIR
wenhui@wenhui:~/Desktop/LEBench$ cd TEST_DIR/
wenhui@wenhui:~/Desktop/LEBench/TEST_DIR$ ls
makefile OS_Eval OS_Eval.c
wenhui@wenhui:~/Desktop/LEBench/TEST_DIR$ ./OS_Eval
Invalid arguments, gave 1 not 3wenhui@wenhui:~/Desktop/LEBench/TEST_DIR$
wenhui@wenhui:~/Desktop/LEBench/TEST_DIR$ ls
makefile OS_Eval OS_Eval.c
wenhui@wenhui:~/Desktop/LEBench/TEST_DIR$ make
gcc -o OS_Eval -pthread -O0 OS_Eval.c
wenhui@wenhui:~/Desktop/LEBench/TEST_DIR$ /home/wenhui/Desktop/LEBench//TEST_DIR/OS_Eval 0 5.0.0-32-generic
Segmentation fault (core dumped)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.