path: root/Makefile
AgeCommit message (Expand)AuthorFilesLines
2009-01-18Makefile: Add -Wextra to CFLAGSTobias Klauser1-1/+1
2008-08-31Prepare inotail 0.6Tobias Klauser1-1/+1
2008-01-14Update copyright and bump version to pre0 (ti fix Debian bug #460527)Tobias Klauser1-2/+2
2007-09-07Release inotail 0.5v0.5Tobias Klauser1-1/+1
2007-06-20Release inotail 0.4v0.4Tobias Klauser1-1/+1
2007-05-21Makefile: Reorder CFLAGSTobias Klauser1-1/+1
2007-05-18Makefile: Add uninstall target and compress manpageTobias Klauser1-0/+4
2007-04-17Release inotail 0.3v0.3Tobias Klauser1-1/+1
2007-04-06Makefile: s/DESTDIR/prefix/ which is more intuitiveTobias Klauser1-3/+3
2007-03-28Makefile: Remove LDFLAGSTobias Klauser1-2/+0
2007-03-28Makefile: Clean up some moreTobias Klauser1-2/+4
2007-03-28Makfile: Get rid of prefix var, it's not necessaryTobias Klauser1-4/+3
2007-03-03Remove stuff unneeded in releaseTobias Klauser1-2/+2
2007-02-09Makefile: Add -W to CFLAGSTobias Klauser1-1/+1
2007-01-21Makefile: Consolidate CFLAGSTobias Klauser1-5/+3
2007-01-21Makefile: Correct verison for target releaseTobias Klauser1-3/+3
2007-01-06Makefile: Add mudflap options to CFLAGS and LDFLAGS when debuggingTobias Klauser1-8/+10
2007-01-05Makefile: Install to /usr/local by default as stated in READMETobias Klauser1-1/+1
2007-01-04Makefile: Add custom (e.g. optimization) CFLAGS to our CFLAGSTobias Klauser1-2/+2
2006-12-08Makefile: Remove dependency on Makfile from all targetTobias Klauser1-1/+1
2006-12-04Officially release inotail 0.2v0.2Tobias Klauser1-1/+1
2006-11-20Makefile: Replace deprecated call to git-tar-treeTobias Klauser1-2/+2
2006-11-15Makefile: Remove duplicate -Wsign-compare from $WARNTobias Klauser1-1/+1
2006-11-15Add license information to Makefile and inotail.hTobias Klauser1-0/+3
2006-10-05Makefile: Simplify clean ruleTobias Klauser1-3/+1
2006-10-05Clean all cscope generated filesTobias Klauser1-1/+1
2006-09-24Add copyright informationTobias Klauser1-0/+1
2006-08-23Fix wrong path on manpage installTobias Klauser1-1/+1
2006-08-22Correctly set and handle $prefix and $DESTDIRTobias Klauser1-5/+3
2006-08-15Also install inotail manpage on 'make install'Tobias Klauser1-1/+3
2006-08-13Also delete these from MakefileTobias Klauser1-2/+0
2006-08-13Makefile cleanupsTobias Klauser1-3/+3
2006-07-17Set version from Makefile, clean upTobias Klauser1-4/+8
2006-07-09Only add -g to CFLAGS when debuggingTobias Klauser1-2/+2
2006-07-08Create tarballs in parent directory on 'make release'Tobias Klauser1-3/+2
2006-07-07Clean up Makefile, add targets 'release' and 'cscope'Tobias Klauser1-11/+15
2006-07-01Only build inotail on 'make all'Tobias Klauser1-5/+5
2006-05-11simpletail is the new inotailTobias Klauser1-4/+6
2006-04-12Added install targetTobias Klauser1-0/+10
2006-04-04Remove inotail-simple from MakefileTobias Klauser1-3/+1
2006-03-13Initial importTobias Klauser1-0/+27
. 2013-11-06hung_task: add method to reset detectorMarcelo Tosatti1-0/+11 In certain occasions it is possible for a hung task detector positive to be false: continuation from a paused VM, for example. Add a method to reset detection, similar as is done with other kernel watchdogs. Acked-by: Don Zickus <> Acked-by: Paolo Bonzini <> Signed-off-by: Marcelo Tosatti <> Signed-off-by: Gleb Natapov <> 2013-10-31hung_task debugging: Add tracepoint to report the hangOleg Nesterov1-0/+4 Currently check_hung_task() prints a warning if it detects the problem, but it is not convenient to watch the system logs if user-space wants to be notified about the hang. Add the new trace_sched_process_hang() into check_hung_task(), this way a user-space monitor can easily wait for the hang and potentially resolve a problem. Signed-off-by: Oleg Nesterov <> Cc: Dave Sullivan <> Cc: Peter Zijlstra <> Cc: Steven Rostedt <> Link: Signed-off-by: Ingo Molnar <> 2013-09-23hung_task: Change sysctl_hung_task_check_count to 'int'Li Zefan1-1/+1 As 'sysctl_hung_task_check_count' is 'unsigned long' when this value is assigned to max_count in check_hung_uninterruptible_tasks(), it's truncated to 'int' type. This causes a minor artifact: if we write 2^32 to sysctl.hung_task_check_count, hung task detection will be effectively disabled. With this fix, it will still truncate the user input to 32 bits, but reading sysctl.hung_task_check_count reflects the actual truncated value. Signed-off-by: Li Zefan <> Acked-by: Ingo Molnar <> Link: Signed-off-by: Ingo Molnar <> 2013-08-02hung_task debugging: Print more info when reporting the problemOleg Nesterov1-4/+9 printk(KERN_ERR) from check_hung_task() likely means we have a bug, but unlike BUG_ON()/WARN_ON ()it doesn't show the kernel version, this complicates the bug-reports investigation. Add the additional pr_err() to print tainted/release/version like dump_stack_print_info() does, the output becomes: INFO: task perl:504 blocked for more than 2 seconds. Not tainted 3.11.0-rc1-10367-g136bb46-dirty #1763 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. ... While at it, turn the old printk's into pr_err(). Signed-off-by: Oleg Nesterov <> Cc: Cc: Christopher Williams <> Cc: Cc: Cc: Mandeep Singh Baines <> Cc: Cc: Linus Torvalds <> Cc: Andrew Morton <> Cc: Peter Zijlstra <> Link: Signed-off-by: Ingo Molnar <> 2012-04-25hung task debugging: Inject NMI when hung and going to panicSasha Levin1-1/+3 Send an NMI to all CPUs when a hung task is detected and the hung task code is configured to panic. This gives us a fairly uptodate snapshot of all CPUs in the system. This lets us get stack trace of all CPUs which makes life easier trying to debug a deadlock, and the NMI doesn't change anything since the next step is a kernel panic. Signed-off-by: Sasha Levin <> Cc: Linus Torvalds <> Cc: Andrew Morton <> Link: [ extended the changelog a bit ] Signed-off-by: Ingo Molnar <> 2012-03-05hung_task: fix the broken rcu_lock_break() logicOleg Nesterov1-4/+7 check_hung_uninterruptible_tasks()->rcu_lock_break() introduced by "softlockup: check all tasks in hung_task" commit ce9dbe24 looks absolutely wrong. - rcu_lock_break() does put_task_struct(). If the task has exited it is not safe to even read its ->state, nothing protects this task_struct. - The TASK_DEAD checks are wrong too. Contrary to the comment, we can't use it to check if the task was unhashed. It can be unhashed without TASK_DEAD, or it can be valid with TASK_DEAD. For example, an autoreaping task can do release_task(current) long before it sets TASK_DEAD in do_exit(). Or, a zombie task can have ->state == TASK_DEAD but release_task() was not called, and in this case we must not break the loop. Change this code to check pid_alive() instead, and do this before we drop the reference to the task_struct. Note: while_each_thread() under rcu_read_lock() is not really safe, it can livelock. This will be fixed later, but fortunately in this case the "max_count" logic saves us anyway. Signed-off-by: Oleg Nesterov <> Acked-by: Frederic Weisbecker <> Acked-by: Mandeep Singh Baines <> Acked-by: Paul E. McKenney <> Cc: Tetsuo Handa <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <> 2012-01-03hung_task: fix false positive during vforkMandeep Singh Baines1-4/+10 vfork parent uninterruptibly and unkillably waits for its child to exec/exit. This wait is of unbounded length. Ignore such waits in the hung_task detector. Signed-off-by: Mandeep Singh Baines <> Reported-by: Sasha Levin <> LKML-Reference: <1325344394.28904.43.camel@lappy> Cc: Linus Torvalds <> Cc: Ingo Molnar <> Cc: Peter Zijlstra <> Cc: Andrew Morton <> Cc: John Kacur <> Cc: Signed-off-by: Linus Torvalds <> 2011-10-31kernel: Map most files to use export.h instead of module.hPaul Gortmaker1-1/+1 The changed files were only including linux/module.h for the EXPORT_SYMBOL infrastructure, and nothing else. Revector them onto the isolated export header for faster compile times. Nothing to see here but a whole lot of instances of: -#include <linux/module.h> +#include <linux/export.h> This commit is only changing the kernel dir; next targets will probably be mm, fs, the arch dirs, etc. Signed-off-by: Paul Gortmaker <> 2011-04-28watchdog, hung_task_timeout: Add Kconfig configurable defaultJeff Mahoney1-1/+1 This patch allows the default value for sysctl_hung_task_timeout_secs to be set at build time. The feature carries virtually no overhead, so it makes sense to keep it enabled. On heavily loaded systems, though, it can end up triggering stack traces when there is no bug other than the system being underprovisioned. We use this patch to keep the hung task facility available but disabled at boot-time. The default of 120 seconds is preserved. As a note, commit e162b39a may have accidentally reverted commit fb822db4, which raised the default from 120 seconds to 480 seconds. Signed-off-by: Jeff Mahoney <> Acked-by: Mandeep Singh Baines <> Link: Signed-off-by: Ingo Molnar <> 2010-08-17lockup detector: Fix grammar by adding a missing "to" in the commentsJohn Kacur1-1/+1 This fixes a minor grammar problem in the comments in hung_task.c Signed-off-by: John Kacur <> Cc: Peter Zijlstra <> LKML-Reference: <> Signed-off-by: Ingo Molnar <> 2010-08-17lockdep: Remove __debug_show_held_locksJohn Kacur1-1/+1 There is no longer any functional difference between __debug_show_held_locks() and debug_show_held_locks(), so remove the former. Signed-off-by: John Kacur <> Cc: Peter Zijlstra <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>