summaryrefslogtreecommitdiff
path: root/application-devel
AgeCommit message (Collapse)Author
2019-03-22app/debugging: unify path to hello binaryKurt Kanzenbach
For GDB sometimes the hello binary is located in /home/devel/work and sometimes in /home/devel/jan. Unify it. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-03-06app/debugging: add description slide for address sanitizerKurt Kanzenbach
Add a brief introduction about what the address sanitizer actually is and what types of bugs in can find. That's useful for our customers. Requested-by: Holger Dengler <holger.dengler@linutronix.de> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-28embedded-devel: remove unnecessary "cut" in commandJohn Ogness
The -dM argument shows the built-in macros. Cutting the #define from the output not only make the command unnecessarily complex, but also works against illustrating that they are macros. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-02-28app/debugging: add address sanitizer exampleKurt Kanzenbach
The address sanitizer is a useful tool for debugging lots of memory related bugs such as heap/stack overflows, user after frees and much more. Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-28app/debugging: remove trailing whitespacesKurt Kanzenbach
Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-02-07fix various typos and wrong commands in slidesHolger Dengler
Fixes for: - missing variable definition in Makefile - wrong serial device in kernel parameters - missing trace-cmd subcmd and wrong parameter (sched_switch is an event, not a plugin) - missing #include in example code - fix copy&paste leftover Signed-off-by: Holger Dengler <dengler@linutronix.de> Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
2019-01-28profiling - gprof: use no PIE compiler and linker optionManuel Traut
PIE is enabled in the gcc of Debian/stretch by default. However the gprof in stretch isn't able to produce any output if PIE is enabled. This is also documented here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854704 Disable PIE for the moment to get some gprof output. However i'm not able to find out how to disable PIE if compiling and linking is done in two steps. Therefore this is just removed. Signed-off-by: Manuel Traut <manut@linutronix.de>
2019-01-18pres_signals: fix typosJohn Ogness
Signed-of-by: Holger Dengler <dengler@linutronix.de> Signed-off-by: John Ogness <john.ogness@linutronix.de>
2019-01-18new slide set for using signals in linuxVolker Haspel
Signed-off-by: Volker Haspel <volker.haspel@linutronix.de>
2018-11-06app-debugging: remove obsolete slidesJohn Ogness
Trainers should use DEBUGGING_TOOLS instead. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-08-31embedded-devel: fix loader env-var table to fitJohn Ogness
The table showing the dynamic loader environment variables was running off the edge of the slide. The main reason was because the description column was too wide. Reduce the description column width. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-05-15application-devel: git-basics: remove germanJohn Ogness
The section title was german. Change it to english. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-05-15application-devel: cleanup git-basics slide textJohn Ogness
Use a consistent and easy to read capitalization scheme. This patch fixes some minor typos discovered during capitalization changes. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19replace *all* tabs with spacesJohn Ogness
There are times when tabs are allowed and times when they are not. Let's just simply never use tabs for anything. This makes it easy to find presentations where tabs were accidentally inserted. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-04-19embedded-devel: fix command line to match exampleJohn Ogness
The following slide shows hello2 using DT_RPATH, so set the output to hello2 when compiling. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-03-07application-devel: Integrate Git-Basic slidesHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-03-07application-devel: add Git-Basics slidesHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-03-07embedded-devel: typo: remove duplicate wordHolger Dengler
Signed-off-by: Holger Dengler <dengler@linutronix.de>
2018-02-20remove german slides when english are availableJohn Ogness
Remove german slides if a completely translated english version is available. For slides that have been translated to english, but do not contain all the information of the german slides, the german slides are still available. But they are only available for reference. That will not be built. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20debugging-tools: fixup typosJohn Ogness
Fixup some copy/paste errors. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add ld.so.cache infoJohn Ogness
We talk about the dynamic loader, so let's talk about how to configure it too. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20debugging-tools: add symbol reinsert and PIE infoJohn Ogness
PIE binaries are now the default, so let's talk about them. Particularly for mtrace it is important to understand. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add slides about PIE binariesJohn Ogness
PIE binaries are now the default, so let's talk about them. Signed-off-by: John Ogness <john.ogness@linutronix.de>
2018-02-20embedded-devel: add LD_TRACE_PRELINKINGJohn Ogness
Since PIE binaries are created by default now, it has become important to see where the binaries are mapped in memory. LD_TRACE_PRELINKING is the dynamic loader environment variable to see that. $ env LD_TRACE_PRELINKING=1 ./hello | grep '=>' Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19add a userspace tracing exampleManuel Traut
using lttng-ust, perf and tshark traces can be shown in tracecompass Signed-off-by: Manuel Traut <manut@linutronix.de>
2017-12-19embedded devel: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-12-19devel/debugging tools: add english versionJohn Ogness
Signed-off-by: John Ogness <john.ogness@linutronix.de>
2017-01-05update valgrind nachteilJohn Ogness
I believe the old nachteil is no longer valid.
2015-06-02Added C++11 and Standard Library overviewAndreas Messerschmid
2015-06-02C++-Threading overview paper addedAndreas Messerschmid
2015-01-12debugging-tools: fix typo in MakefileManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2015-01-12add jans ese 2012 slides as debugging toolsManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2014-08-19remove desing patterns not available in new lx-cd versionManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2014-07-17Basic introduction to Profiling and code coverage (Gprof, Callgrind, Perf, Gcov)Jan Altenberg
2013-12-27Merge branch 'master' into kconfigJan Altenberg
2013-12-27Typo fixesJan Altenberg
2013-05-13Implement Kconfig build systemChristian Eppler
Signed-off-by: Christian Eppler <c.eppler@linutonix.de>
2011-07-18Merge ../../../vorlesung into vorlesungManuel Traut
2011-04-06added vorl4Manuel Traut
Signed-off-by: Manuel Traut <manut@mecka.net>
2011-03-18added stripped down crossdevel chapterManuel Traut
Signed-off-by: Manuel Traut <manut@mecka.net>
2011-03-10First draft of "Building Debian Packages"Jan Altenberg
* Building packages from source (dh_make, dpkg-buildpackage) * Building packages based on binary data (dpkg-deb --build) * Providing configuration options (debconf)
2011-01-28Merge branch 'jan'Manuel Traut
Conflicts: application-devel/embedded-devel/pres_embedded-devel_de.tex flash-memory/flash-filesystems/pres_flashfilesystems_en.tex linux-basics/linux-processes/pres_linux-processes_en.tex Signed-off-by: Manuel Traut <manut@linutronix.de>
2011-01-28Fixed shared library example.Jan Altenberg
2011-01-28Debugging: Fixed ''core dump'' and duma exampleJan Altenberg
2011-01-26Aufräumen und neu strukturieren Teil 1Manuel Traut
- alle images wurden ins Wurzelverzeichnis verschoben - TEXINPUTS wird projektspezifisch gesetzt - es besteht die Möglichkeit einzelne pdfs zu generieren (wie bisher) desweiteren ist es möglich eigene Zusammenstellungen anzulegen - Einsstellungen welche das Design der Dokumente definieren werden nun in config*.tex & tail*.tex im Wurzelverzeichnis definiert - templates an neue Umgebung angepasst - in jedem Kapitelverzeichnis liegt nun eine Datei section welche das Kapitel beschreibt (mind. überschrift). Diese kann ggf. inkludiert werden. - TODO: es sind noch nicht alle Dokumente auf die neue Struktur umgestellt (siehe Makefile) Signed-off-by: Manuel Traut <manut@linutronix.de>
2011-01-25Added a basic introduction ti libraries:Jan Altenberg
- Creating static and shared libraries - Naming schemes for dynamic libraries
2011-01-21find and concat pdf files using pdfsamManuel Traut
Signed-off-by: Manuel Traut <manut@linutronix.de>
2010-12-01Makefile bugfixes for top-level Makefile (added frameworks and protocols)Jan Altenberg
Bugfix: Added Makefile for protocols removed unused files
2010-12-01Added a versatile kernel image and a qemu start_script.Jan Altenberg
Might be useful for testing the cross RFS with qemu.
2010-12-01New chapter about ''development scenarios''Jan Altenberg
-> how to integrate linux development in a pre-existing it infrastructure