Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: labs: kernel_modules: remove kprobes #79

Merged
merged 2 commits into from
Feb 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Documentation/teaching/labs/kernel_modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ Extra Exercises
1. KDB
------

Go to the **9-kdb** directory. Activate KDB the over serial port and enter KDB
Go to the **8-kdb** directory. Activate KDB the over serial port and enter KDB
mode using :command:`SysRq`. Connect to the pseudo-terminal linked to virtiocon0
using :command:`minicom`, configure KDB to use the hvc0 serial port:

Expand Down Expand Up @@ -1100,7 +1100,7 @@ address.
4. Dynamic Debugging
--------------------

Go to the **10-dyndbg** directory and compile the :code:`dyndbg.ko` module.
Go to the **9-dyndbg** directory and compile the :code:`dyndbg.ko` module.

Familiarize yourself with the :code:`debugfs` file system mounted in
:file:`/debug` and analyze the contents of the file
Expand Down
6 changes: 3 additions & 3 deletions tools/labs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ copy: $(YOCTO_IMAGE)
docs:
pip install --user -r requirements.txt
$(MAKE) -C $(KDIR) DOCBOOKS= SPHINXDIRS="teaching" htmldocs
$(MAKE) -C $(KDIR) BUILDDIR=$(KDIR)/Documentation/output/slides DOCBOOKS= SPHINXDIRS="teaching" slides
for i in $(KDIR)/Documentation/output/slides/teaching/lectures/*.html; do name=$$(basename $$i .html); cp $$i $(KDIR)/Documentation/output/teaching/lectures/$$name-slides.html; done
cp -r $(KDIR)/Documentation/output/slides/teaching/_static $(KDIR)/Documentation/output/teaching/
#$(MAKE) -C $(KDIR) BUILDDIR=$(KDIR)/Documentation/output/slides DOCBOOKS= SPHINXDIRS="teaching" slides
#for i in $(KDIR)/Documentation/output/slides/teaching/lectures/*.html; do name=$$(basename $$i .html); cp $$i $(KDIR)/Documentation/output/teaching/lectures/$$name-slides.html; done
#cp -r $(KDIR)/Documentation/output/slides/teaching/_static $(KDIR)/Documentation/output/teaching/
clean::
rm -rf skels

Expand Down
3 changes: 0 additions & 3 deletions tools/labs/templates/kernel_modules/8-kprobes/Kbuild

This file was deleted.

92 changes: 0 additions & 92 deletions tools/labs/templates/kernel_modules/8-kprobes/kprobes.c

This file was deleted.