mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
config: replace cli with direct common_ options
This commit is contained in:
10
README.adoc
10
README.adoc
@@ -846,14 +846,10 @@ It gets annoying to retype `-a aarch64` for every single command, or to remember
|
||||
So simplify that, do:
|
||||
|
||||
....
|
||||
cp cli.example data/cli
|
||||
cp config.example data/config
|
||||
....
|
||||
|
||||
and then edit the `data/cli` file to your needs.
|
||||
|
||||
That file is used to pass extra command line arguments to most of our utilities.
|
||||
|
||||
Of course, you could get by with the shell history, or your own aliases, but we've felt that it was worth introducing a common mechanism for that.
|
||||
and then edit the `data/config` file to your needs.
|
||||
|
||||
=== Clean the build
|
||||
|
||||
@@ -7342,7 +7338,7 @@ printf '' > data/readfile
|
||||
./run -a "$arch" -g -- -r 1
|
||||
....
|
||||
|
||||
These commands output the approximate number of CPU cycles it took Dhrystone to run.
|
||||
The commands output the approximate number of CPU cycles it took Dhrystone to run.
|
||||
|
||||
For more serious tests, you will likely want to automate logging the commands ran and results to files, a good example is: link:gem5-bench-cache[].
|
||||
|
||||
|
||||
Reference in New Issue
Block a user