21 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it would be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 6 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Steve Winslow
    Reviewed-by: Kate Stewart
    Reviewed-by: Jilayne Lovejoy
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190519154043.007767574@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 Jun, 2018

1 commit

  • Remove functionally empty jprobe API implementations and test cases.

    Signed-off-by: Masami Hiramatsu
    Acked-by: Thomas Gleixner
    Cc: Ananth N Mavinakayanahalli
    Cc: Andrew Morton
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Cc: linux-arch@vger.kernel.org
    Link: https://lore.kernel.org/lkml/152942430705.15209.2307050500995264322.stgit@devbox
    Signed-off-by: Ingo Molnar

    Masami Hiramatsu
     

20 Oct, 2017

1 commit

  • Disable jprobes test code because jprobes are deprecated.
    This code will be completely removed when the jprobe code
    is removed.

    Signed-off-by: Masami Hiramatsu
    Cc: Alexei Starovoitov
    Cc: Ananth N Mavinakayanahalli
    Cc: Anil S Keshavamurthy
    Cc: David S . Miller
    Cc: Ian McDonald
    Cc: Kees Cook
    Cc: Linus Torvalds
    Cc: Paul E . McKenney
    Cc: Peter Zijlstra
    Cc: Stephen Hemminger
    Cc: Steven Rostedt
    Cc: Thomas Gleixner
    Cc: Vlad Yasevich
    Link: http://lkml.kernel.org/r/150724531730.5014.6377596890962355763.stgit@devbox
    Signed-off-by: Ingo Molnar

    Masami Hiramatsu
     

28 Sep, 2017

1 commit

  • Add preemptible check to each handler. Handlers are called with
    non-preemtible, which is guaranteed by Documentation/kprobes.txt.

    Signed-off-by: Masami Hiramatsu
    Cc: Alexei Starovoitov
    Cc: Alexei Starovoitov
    Cc: Ananth N Mavinakayanahalli
    Cc: Linus Torvalds
    Cc: Paul E . McKenney
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Cc: Thomas Gleixner
    Link: http://lkml.kernel.org/r/150581513991.32348.7956810394499654272.stgit@devbox
    Signed-off-by: Ingo Molnar

    Masami Hiramatsu
     

09 Aug, 2014

1 commit

  • - Add pr_fmt
    - Coalesce formats
    - Use current pr_foo() functions instead of printk
    - Remove unnecessary "failed" display (already in log level).

    Signed-off-by: Fabian Frederick
    Cc: Ananth N Mavinakayanahalli
    Cc: Anil S Keshavamurthy
    Cc: "David S. Miller"
    Cc: Masami Hiramatsu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Fabian Frederick
     

30 Apr, 2013

1 commit


14 Oct, 2010

1 commit


07 Jan, 2009

2 commits

  • Add testcases for *probe batch registration (register_kprobes) to kprobes
    sanity tests.

    Signed-off-by: Masami Hiramatsu
    Acked-by: Ananth N Mavinakayanahalli
    Cc: Jim Keniston
    Cc: David Miller
    Cc: Anil S Keshavamurthy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masami Hiramatsu
     
  • Call kprobe_target indirectly. This prevents gcc to unroll a noinline
    function in caller function.

    I ported patches which had been discussed on
    http://sources.redhat.com/bugzilla/show_bug.cgi?id=3542

    Signed-off-by: Masami Hiramatsu
    Acked-by: Ananth N Mavinakayanahalli
    Cc: Jim Keniston
    Cc: David Miller
    Cc: Anil S Keshavamurthy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Masami Hiramatsu
     

07 Feb, 2008

1 commit

  • Provide support to add an optional user defined callback to be run at
    function entry of a kretprobe'd function. Also modify the kprobe smoke
    tests to include an entry-handler during the kretprobe sanity test.

    Signed-off-by: Abhishek Sagar
    Cc: Prasanna S Panchamukhi
    Cc: Ananth N Mavinakayanahalli
    Cc: Anil S Keshavamurthy
    Acked-by: Jim Keniston
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Abhishek Sagar
     

30 Jan, 2008

1 commit

  • Here is a quick and naive smoke test for kprobes. This is intended to
    just verify if some unrelated change broke the *probes subsystem. It is
    self contained, architecture agnostic and isn't of any great use by itself.

    This needs to be built in the kernel and runs a basic set of tests to
    verify if kprobes, jprobes and kretprobes run fine on the kernel. In case
    of an error, it'll print out a message with a "BUG" prefix.

    This is a start; we intend to add more tests to this bucket over time.

    Thanks to Jim Keniston and Masami Hiramatsu for comments and suggestions.

    Tested on x86 (32/64) and powerpc.

    Signed-off-by: Ananth N Mavinakayanahalli
    Acked-by: Masami Hiramatsu
    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar

    Ananth N Mavinakayanahalli