885 Commits

Author SHA1 Message Date
9db2d291ed kprobes: mention CONFIG_KPROBE_EVENTS=y 2018-05-06 11:46:38 +01:00
37743c40c3 conf.sh: base insensitive for even less typing 2018-05-06 11:28:54 +01:00
e05f447f87 kprobes 2018-05-05 22:31:02 +01:00
8a826ab16a pr_debug: fix wrong insmod assertions, document mess of printk(KERN_DEBUG 2018-05-05 21:42:47 +01:00
22a7b9bf2b config.sh: builtin grep! 2018-05-05 19:21:18 +01:00
c735790099 build: -c to enable a single linux kernel config
Disable CONFIG_FORTIFY_SOURCE=y by default as it might incur overhead,
enable CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y as it should not.
2018-05-05 11:50:22 +01:00
149ab9302b strlen_overflow: cleanup after reddit rush 2018-05-05 09:09:12 +01:00
1b451a70d4 strlen_overflow and CONFIG_FORTIFY_SOURCE 2018-05-05 08:50:01 +01:00
fcffb4a6d6 Move contributing to readme 2018-05-05 08:11:53 +01:00
1b0c527848 common: one char arch shorthands, fail nicely on invalid arch 2018-05-03 16:11:16 +01:00
b8f190cc24 readme: kernel panic symbols instead of addresses 2018-05-02 18:00:25 +01:00
bde13c3772 readme: qemu failed interesting multicore debug attempt
qemu cannot trace memory accesses
2018-05-02 17:13:02 +01:00
fe8844b3cd gem5: pydot to generate config.ini graphs 2018-05-02 16:29:39 +01:00
8b8793d52b readme: several small improvements 2018-05-02 10:00:03 +01:00
81164a0a98 Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-05-02 09:29:14 +01:00
25ebba6d9f br2: enable taskset, create sched_getaffinity, yet undocumented 2018-05-02 09:29:11 +01:00
6a1e98fab2 readme: qemu todos: show instructions and multicore trace 2018-05-02 00:24:58 +01:00
b992163d4e gem5: possible to edit python in tree, factor arm and aarch64 build
readme: stress kills gem5, some gem5 builds much slower than others
2018-05-02 00:14:23 +01:00
533fe808b6 readme: gem5 use -F for interactive shell at end of boot restore
fs_bitLITTLE: vmlinux.vexpress_gem5_v1.20170616 works without dtb
2018-05-01 11:46:52 +01:00
37a4ff8070 fs_bigLITTLE: patch for vda, more info 2018-05-01 00:05:40 +01:00
ea244e1d6f fs_bigLITTLE: minimized
I was confused previously by the fact that the DTB is required,
despite gem5 autogenerating a default one if it is not provided.

TODO: why is the generated one not correct?
2018-04-30 18:14:58 +01:00
3e24f56835 readme: fs_bigLITTLE.py found source setup that shows boot messages, now I can bisect 2018-04-30 00:12:39 +01:00
9c627fabc8 readme: link to gem5 out of tree build question 2018-04-29 23:01:57 +01:00
553f2639bb readme: gem5 fs_bitLITTLE.py failed attempt
readme: extract-ikconfig, dtc -I fs
2018-04-29 21:16:12 +01:00
8d30cf31ce build: fix -K not working with absolute paths 2018-04-29 19:33:50 +01:00
b1463c26a3 readme: gem5 failed python script without rebuild attempt 2018-04-29 13:38:23 +01:00
bb410cc3bb readme: move about kernel configs together with other kernel configs
Add rationale on not having a single defconfig file
2018-04-29 08:24:04 +01:00
0b9157c919 readme: qemu snapshot is stored in qcow2, qemu-img info 2018-04-27 21:27:11 +01:00
41aac40759 readme: mention secondary no reboot disk technique 2018-04-27 19:19:03 +01:00
7c16eb6ec1 run: pass Ctrl+C to GDB when using -D 2018-04-26 14:47:40 +01:00
4da17d0816 rungdb: store cd into rungdb.sh to make it actually rerunnable 2018-04-26 13:24:15 +01:00
ab21ef58de trace2line: gem5 support
As noted however, it is potentially too slow to be useful.

run: unify gem5 and qemu tracing under -T

readme: overhaul tracing documentation from what I've learnt from trace2line
2018-04-26 00:23:44 +01:00
14965a40d2 tmu: fix window switch for build problem 2018-04-22 22:30:55 +01:00
f10ef3a467 bench-all: add build benchmarks and make all benchmarks options
run: fix ./run -gu broken behaviour. Document ./tmu window switch failure.

readme: move travis failed attempt to readme.
2018-04-22 21:09:17 +01:00
62f6870e4e bench-all: reactivate forgotten commented out build and bench 2018-04-22 00:36:12 +01:00
96ee0246ce runtc: remove unused gem5 argument due to qemu / gem5 unification 2018-04-21 22:59:58 +01:00
5ff3999199 bench-all and linux-kernel-module-cheat-regressoin repo 2018-04-21 22:38:48 +01:00
2bddcc2891 build: unify QEMU and gem5 kernel configs! The last one!
Split optional and required kernel configs into separate files.

readme: describe how our kernel configs are generated from Buildroot

readme: document QEMU `-no-reboot` and speculate gem5 `panic_on_panic`
in preparation for some more automated bisection with ktest.
2018-04-21 11:50:02 +01:00
4e0d9af81f netlink 2018-04-20 17:51:17 +01:00
05888ec5c1 readme: rerun gem5-bench-caches and take some conclusions 2018-04-20 00:15:22 +01:00
759fb7b7c8 run: move run.sh into out/arch/qemu or out/arch/gem5 subdirs
This allows to compare both commands as the run.sh won't overwritten.
2018-04-19 23:51:21 +01:00
af210a7671 Move arm to virt armv7, unify arm QEMU and gem5 builds
gem5 requires armv7, and we learnt that the versatiledb we were using
was pre-v7.

We could have moved to -M vexpress-*, but in the end decided to go for
-M virt due to its simpliciy, and uniformity with aarch64.

platform_device: does not work anymore and was removed, since it was tied
to versatilepb.

We left a mention on the README and removed all in tree source. The QEMU
patch is still left as it was.

As a consequence, the linux tree had no other patches, and we now use
vanilla linux by default, which is a great thing for reproducibility.

Another consequence is the /poweroff.out works for arm -M virt,
and we removed all mentions of the problem.
2018-04-19 23:38:17 +01:00
2852fe1989 readme: failed attempt at arch/arm/boot/compressed/vmlinux 2018-04-19 09:14:49 +01:00
2c084f5fb2 run: create -F option to run base64 encoded command after busybox init
Fix ./run -h which was showing the build help instead.
2018-04-19 08:57:35 +01:00
9805d333ea tc: create helper to access toolchain tools 2018-04-19 08:24:10 +01:00
3fdabbda61 configure: updated submodules recursively
Otherwise, on the git module update fallback, QEMU's submodules don't get updated.

Also add a --recursive to the main qemu clone, just in case they add
submodules to the submodules in the future.
2018-04-19 07:34:57 +01:00
f618718248 Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-04-19 07:21:10 +01:00
0d8c066a8e merge 2018-04-19 07:20:59 +01:00
81e8ca6fb9 build: create out_dir to put out/cli into it
Fix:

```
touch: cannot touch /linux-kernel-module-cheat/out/br2_cli: No such file or directory
```
2018-04-19 06:46:09 +01:00
ca84b8d0a7 readme: typo BR2_SOME_OPTION 2018-04-18 20:35:16 +01:00