aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug
AgeCommit message (Expand)AuthorFilesLines
2024-01-17kdb: Fix a potential buffer overflow in kdb_local()Christophe JAILLET1-2/+0
2023-11-06kdb: Corrects comment for kdballocenvYuran Pereira1-4/+3
2023-10-15kgdb: Flush console before entering kgdb on panicDouglas Anderson1-0/+3
2023-09-04Merge tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+2
2023-07-25tty: sysrq: switch sysrq handlers from int to u8Jiri Slaby1-1/+1
2023-07-20kdb: Do not assume write() callback availableJohn Ogness1-0/+2
2023-07-03kdb: move kdb_send_sig() declaration to a better header fileDaniel Thompson1-1/+0
2023-06-30kdb: Handle LF in the command parserDouglas Anderson1-1/+15
2023-06-29kdb: include kdb_private.h for function prototypesArnd Bergmann1-0/+2
2022-12-02kdb: use srcu console list iteratorJohn Ogness1-2/+16
2022-09-26mm: remove vmacacheLiam R. Howlett1-12/+0
2022-05-26Merge tag 'modules-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds5-56/+0
2022-05-24lockdown: also lock down previous kgdb useDaniel Thompson2-3/+83
2022-04-05module: Move kdb module related code out of main kdb codeAaron Tomlin5-56/+0
2022-03-24kdb: Fix the putarea helper functionDaniel Thompson1-1/+1
2021-11-03kdb: Adopt scheduler's task classificationDaniel Thompson4-122/+53
2021-09-07Merge tag 'kgdb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/da...Linus Torvalds7-704/+352
2021-09-06kernel: debug: Convert to SPDX identifierCai Huoqing2-8/+2
2021-08-19isystem: trim/fixup stdarg.h and other headersAlexey Dobriyan1-1/+0
2021-07-27kdb: Rename members of struct kdbtab_tSumit Garg2-239/+237
2021-07-27kdb: Simplify kdb_defcmd macro logicSumit Garg1-49/+58
2021-07-27kdb: Get rid of redundant kdb_register_flags()Sumit Garg2-127/+53
2021-07-27kdb: Rename struct defcmd_set to struct kdb_macroSumit Garg1-20/+20
2021-07-27kdb: Get rid of custom debug heap allocatorSumit Garg3-307/+28
2021-07-12kernel: debug: Fix unreachable code in gdb_serial_stub()Gustavo A. R. Silva1-1/+1
2021-07-06Merge tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/da...Linus Torvalds3-6/+7
2021-06-29Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-8/+1
2021-06-18sched: Change task_struct::statePeter Zijlstra1-8/+10
2021-06-01kgdb: Fix fall-through warning for ClangGustavo A. R. Silva1-0/+1
2021-06-01kgdb: Fix spelling mistakesZhen Lei3-6/+6
2021-05-17kdb: Switch to use %ptTsAndy Shevchenko1-8/+1
2021-04-27Merge tag 'printk-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+5
2021-04-14kdb: Refactor env variables get/set codeSumit Garg1-74/+68
2021-03-19kernel: debug: Ordinary typo fixes in the file gdbstub.cBhaskar Chowdhury1-2/+2
2021-03-19kdb: Simplify kdb commands registrationSumit Garg3-213/+311
2021-03-19kdb: Remove redundant function definitions/prototypesSumit Garg2-20/+0
2021-03-08printk: kmsg_dump: remove _nolock() variantsJohn Ogness1-4/+4
2021-03-08printk: introduce a kmsg_dump iteratorJohn Ogness1-5/+5
2021-03-08printk: kmsg_dumper: remove @active fieldJohn Ogness1-1/+1
2021-02-26kgdb: fix to kill breakpoints on initmem after bootSumit Garg1-0/+11
2021-02-11kgdb: Remove kgdb_schedule_breakpoint()Daniel Thompson1-26/+0
2021-02-08kdb: Make memory allocations more robustSumit Garg1-1/+1
2021-02-04kdb: kdb_support: Fix debugging information problemStephen Zhang2-33/+30
2021-02-04kernel: debug: fix typo issuewengjianfeng1-2/+2
2021-02-04kgdb: rectify kernel-doc for kgdb_unregister_io_module()Lukas Bulwahn1-1/+1
2020-11-24smp: Cleanup smp_call_function*()Peter Zijlstra1-3/+3
2020-10-01kdb: Fix pager search for multi-line stringsDaniel Thompson1-2/+6
2020-10-01kernel: debug: Centralize dbg_[de]activate_sw_breakpointsDaniel Thompson3-3/+2
2020-10-01kgdb: Add NOKPROBE labels on the trap handler functionsDaniel Thompson1-0/+16
2020-09-28kgdb: Honour the kprobe blocklist when setting breakpointsDaniel Thompson2-0/+13
2020-09-11kernel/debug: Fix spelling mistake in debug_core.cYouling Tang1-2/+2
2020-09-08kdb: Use newer api for tasklist scanningDavidlohr Bueso4-12/+8
2020-09-08kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"Douglas Anderson1-8/+14
2020-09-08kdb: remove unnecessary null check of dbg_io_opsCengiz Can1-7/+7
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva3-8/+8
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2020-07-30treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()Kees Cook1-1/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-07-09kgdb: enable arch to support XML packet.Vincent Chen1-0/+13
2020-06-26kgdb: Avoid suspicious RCU usage warningDouglas Anderson1-0/+4
2020-06-26kdb: Switch to use safer dbg_io_ops over console APIsSumit Garg1-1/+3
2020-06-25kdb: Make kdb_printf() console handling more robustSumit Garg1-0/+11
2020-06-25kdb: Check status of console prior to invoking handlersSumit Garg1-0/+2
2020-06-25kdb: Re-factor kdb_printf() message write codeSumit Garg1-29/+28
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig4-10/+12
2020-06-09kernel: rename show_stack_loglvl() => show_stack()Dmitry Safonov1-1/+1
2020-06-09kdb: don't play with console_loglevelDmitry Safonov1-7/+8
2020-06-07Merge tag 'tty-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-1/+1
2020-06-04Merge tag 'riscv-for-linus-5.8-mw0' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+12
2020-06-02kdb: Remove the misfeature 'KDBFLAGS'Wei Li1-4/+4
2020-06-02kdb: Cleanup math with KDB_CMD_HISTORY_COUNTDouglas Anderson1-1/+2
2020-06-02kgdb: Don't call the deinit under spinlockDouglas Anderson1-2/+3
2020-05-18kgdb: Add kgdb_has_hit_break functionVincent Chen1-0/+12
2020-05-18kgdboc: Add kgdboc_earlycon to support early kgdb using boot consolesDouglas Anderson1-4/+18
2020-05-18kgdb: Prevent infinite recursive entries to the debuggerDouglas Anderson1-0/+1
2020-05-18kgdb: Delay "kgdbwait" to dbg_late_init() by defaultDouglas Anderson1-10/+15
2020-05-18kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdbDouglas Anderson1-0/+4
2020-05-15kdb: constify sysrq_key_opEmil Velikov1-1/+1
2020-05-07kgdb: Drop malformed kernel doc commentAndy Shevchenko1-3/+1
2020-04-03Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+1
2020-04-01kdb: Censor attempts to set PROMPT without ENABLE_MEM_READDaniel Thompson1-4/+8
2020-04-01kdb: Eliminate strncpy() warnings by replacing with strscpy()Daniel Thompson1-4/+4
2020-03-25.gitignore: add SPDX License IdentifierMasahiro Yamada1-0/+1
2020-02-06Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no r...Daniel Thompson1-13/+15
2020-01-31kdb: Use for_each_console() helperAndy Shevchenko1-6/+3
2020-01-31kdb: remove redundant assignment to pointer bpColin Ian King1-1/+0
2020-01-31kdb: Get rid of confusing diag msg from "rd" if current task has no regsDouglas Anderson1-15/+13
2020-01-31kdb: Gid rid of implicit setting of the current task / regsDouglas Anderson3-9/+2
2020-01-31kdb: kdb_current_task shouldn't be exportedDouglas Anderson1-1/+0
2020-01-31kdb: kdb_current_regs should be privateDouglas Anderson1-0/+1
2019-10-28kdb: Tweak escape handling for vi usersDaniel Thompson1-2/+2
2019-10-28kdb: Improve handling of characters from different input sourcesDaniel Thompson1-19/+19
2019-10-28kdb: Remove special case logic from kdb_read()Daniel Thompson3-42/+42
2019-10-28kdb: Simplify code to fetch characters from consoleDaniel Thompson1-24/+14
2019-10-28kdb: Tidy up code to handle escape sequencesDaniel Thompson1-61/+67
2019-10-24kdb: Avoid array subscript warnings on non-SMP buildsDaniel Thompson1-1/+1
2019-10-10kdb: Fix stack crawling on 'running' CPUs that aren't the masterDouglas Anderson3-12/+43
2019-10-10kdb: Fix "btc <cpu>" crash if the CPU didn't round upDouglas Anderson1-27/+34
2019-10-10kdb: Remove unused "argcount" param from kdb_bt1(); make btaprompt boolDouglas Anderson1-8/+6
2019-10-10kgdb: Remove unused DCPU_SSTEP definitionDouglas Anderson1-1/+0
2019-09-25kgdb: don't use a notifier to enter kgdb at panic; call directlyDouglas Anderson1-20/+11
2019-09-03kgdb: fix comment regarding static functionNadav Amit1-4/+1
2019-09-03kdb: Replace strncmp with str_has_prefixChuhong Yuan1-1/+1
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2019-05-14kdb: Fix bound check compiler warningWenlin Kang1-1/+1
2019-05-12kdb: do a sanity check on the cpu in kdb_per_cpu()Dan Carpenter1-1/+1
2019-05-12kdb: Get rid of broken attempt to print CCVERSION in kdb summaryDouglas Anderson2-2/+0
2019-05-02kdb: kdb_support: replace strcpy() by strscpy()Gustavo A. R. Silva1-1/+1
2019-05-02gdbstub: Replace strcpy() by strscpy()Gustavo A. R. Silva1-2/+2
2019-05-02gdbstub: mark expected switch fall-throughsGustavo A. R. Silva1-2/+3
2018-12-30kdb: use bool for binary state indicatorsNicholas Mc Guire1-7/+7
2018-12-30kdb: Don't back trace on a cpu that didn't round upDouglas Anderson3-8/+14
2018-12-30kgdb: Don't round up a CPU that failed rounding up beforeDouglas Anderson2-1/+20
2018-12-30kgdb: Fix kgdb_roundup_cpus() for arches who used smp_call_function()Douglas Anderson1-0/+41
2018-12-30kgdb: Remove irq flags from roundupDouglas Anderson1-1/+1
2018-11-13kdb: kdb_support: mark expected switch fall-throughsGustavo A. R. Silva1-3/+3
2018-11-13kdb: kdb_keyboard: mark expected switch fall-throughsGustavo A. R. Silva1-2/+2
2018-11-13kdb: kdb_main: refactor code in kdb_md_lineGustavo A. R. Silva1-18/+3
2018-11-13kdb: Use strscpy with destination buffer sizePrarit Bhargava3-12/+15
2018-11-13kdb: print real address of pointers instead of hashed addressesChristophe Leroy2-13/+13
2018-11-13kdb: use correct pointer when 'btc' calls 'btt'Christophe Leroy1-2/+2
2018-10-26sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOADJohannes Weiner1-6/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+7
2018-04-12Merge tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Linus Torvalds3-53/+44
2018-02-04kdb: use memmove instead of overlapping memcpyArnd Bergmann1-2/+2
2018-01-31kdb: use ktime_get_mono_fast_ns() instead of ktime_get_ts()Baolin Wang1-3/+3
2018-01-25kdb: bl: don't use tab character in outputRandy Dunlap1-2/+2
2018-01-25kdb: drop newline in unknown command outputRandy Dunlap1-0/+11
2018-01-25kdb: make "mdr" command repeatRandy Dunlap1-6/+21
2018-01-25kdb: use __ktime_get_real_seconds instead of __current_kernel_timeArnd Bergmann1-40/+5
2018-01-03signal: Simplify and fix kdb_send_sigEric W. Biederman2-9/+3
2017-12-06kdb: Fix handling of kallsyms_symbol_next() return valueDaniel Thompson1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar2-0/+2
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar2-1/+2
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02mm/vmacache, sched/headers: Introduce 'struct vmacache' and move it from <lin...Ingo Molnar1-2/+2
2016-12-14kdb: call vkdb_printf() from vprintk_default() only when wantedPetr Mladek1-7/+2
2016-12-14kdb: properly synchronize vkdb_printf() calls with other CPUsPetr Mladek2-18/+13
2016-12-14kdb: remove unused kdb_event handlingPetr Mladek2-3/+0
2016-12-14kernel/debug/debug_core.c: more properly delay for secondary CPUsDouglas Anderson1-2/+2
2016-12-12printk/kdb: handle more message headersPetr Mladek1-1/+1
2016-02-22mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel ...Kees Cook1-3/+1
2015-12-04module: use a structure to encapsulate layout.Rusty Russell1-2/+2
2015-02-19debug: prevent entering debug mode on panic/exception.Colin Cross1-0/+17
2015-02-19kdb: Const qualifier for kdb_getstr's prompt argumentDaniel Thompson2-2/+2
2015-02-19kdb: Provide forward search at more promptDaniel Thompson3-5/+26
2015-02-19kdb: Fix a prompt management bug when using | grepDaniel Thompson1-2/+2
2015-02-19kdb: Remove stack dump when entering kgdb due to NMIDaniel Thompson1-1/+0
2015-02-19kdb: Avoid printing KERN_ levels to consolesDaniel Thompson1-9/+13
2015-02-19kdb: Fix off by one error in kdb_cpu()Jason Wessel2-2/+2
2015-02-19kdb: fix incorrect counts in KDB summary command outputJay Lan1-1/+1
2015-01-23Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2015-01-22module: make module_refcount() a signed integer.Rusty Russell1-1/+1
2014-11-11kernel/debug/debug_core.c: Logging clean-upFabian Frederick1-22/+21
2014-11-11kgdb: timeout if secondary CPUs ignore the roundupDaniel Thompson3-3/+14
2014-11-11kdb: Allow access to sensitive commands to be restricted by defaultDaniel Thompson1-1/+1
2014-11-11kdb: Add enable mask for groups of commandsAnton Vorontsov1-1/+29
2014-11-11kdb: Categorize kdb commands (similar to SysRq categorization)Daniel Thompson2-40/+101
2014-11-11kdb: Remove KDB_REPEAT_NONE flagAnton Vorontsov2-33/+32
2014-11-11kdb: Use KDB_REPEAT_* values as flagsAnton Vorontsov1-14/+7
2014-11-11kdb: Rename kdb_register_repeat() to kdb_register_flags()Anton Vorontsov2-50/+50
2014-11-11kdb: Rename kdb_repeat_t to kdb_cmdflags_t, cmd_repeat to cmd_flagsAnton Vorontsov2-4/+4
2014-11-11kdb: Remove currently unused kdbtab_t->cmd_flagsAnton Vorontsov2-2/+0
2014-10-14kdb: replace strnicmp with strncasecmpRasmus Villemoes1-3/+3
2014-06-12kdb: Use ktime_get_ts()Thomas Gleixner1-1/+1
2014-06-04kernel/printk: use symbolic defines for console loglevelsBorislav Petkov3-3/+3
2014-04-18arch: Mass conversion of smp_mb__*()Peter Zijlstra1-2/+2
2014-04-07mm: per-thread vma cachingDavidlohr Bueso1-3/+11
2014-02-26KGDB: make kgdb_breakpoint() as noinlineVijaya Kumar K1-1/+1
2014-01-25kgdb/kdb: Fix no KDB config problemMike Travis2-4/+3
2013-10-03kdb: Add support for external NMI handler to call KGDB/KDBMike Travis4-3/+40
2013-04-30kgdb/sysrq: fix inconstistent help message of sysrq keyzhangwei(Jovi)1-1/+1
2013-03-02Merge tag 'for_linux-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/jw...Linus Torvalds6-127/+62
2013-03-02kdb: Remove unhandled ssb commandVincent4-39/+2
2013-03-02kdb: Prevent kernel oops with kdb_defcmdJason Wessel1-2/+6
2013-03-02kdb: Remove the ll commandJason Wessel1-65/+0
2013-03-02kdb_main: fix help printJason Wessel1-3/+7
2013-03-02kdb: Fix overlap in buffers with strcpyJason Wessel1-9/+21
2013-03-02kdb: Setup basic kdb state before invoking commands via kgdbMatt Klein3-6/+23
2013-03-02kdb: use ARRAY_SIZE where possibleSasha Levin1-2/+2
2013-03-02kdb: A fix for kdb command table expansionJohn Blackwood1-1/+1
2013-02-04kgdb: remove #include <linux/serial_8250.h> from kgdb.hGreg Kroah-Hartman2-0/+2
2013-01-12module: add new state MODULE_STATE_UNFORMED.Rusty Russell1-0/+2
2012-10-13Merge tag 'for_linus-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jw...Linus Torvalds4-5/+50
2012-10-12kdb,vt_console: Fix missed data due to pager overrunsJason Wessel1-5/+28
2012-10-12kdb: Fix dmesg/bta scroll to quit with 'q'Jason Wessel2-0/+4
2012-10-12kgdb: Add module event hooksJason Wessel1-0/+18
2012-09-26kdb: Implement disable_nmi commandAnton Vorontsov1-0/+31
2012-09-26kernel/debug: Mask KGDB NMI upon entryAnton Vorontsov1-3/+11
2012-07-31kernel/debug: Make use of KGDB_REASON_NMIAnton Vorontsov1-0/+4
2012-07-31kdb: Remove cpu from the more promptJason Wessel1-11/+0
2012-07-31kdb: Remove unused KDB_FLAG_ONLY_DO_DUMPJason Wessel1-14/+1
2012-07-21kdb: Switch to nolock variants of kmsg_dump functionsAnton Vorontsov1-4/+4
2012-07-21printk: Remove kdb_syslog_dataAnton Vorontsov1-1/+0
2012-07-21kdb: Revive dmesg commandAnton Vorontsov1-58/+33
2012-04-04Merge tag 'for_linus-3.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds2-30/+25
2012-03-29kgdb,debug_core: pass the breakpoint struct instead of address and memoryJason Wessel1-29/+24