Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'trace-v5.15-rc6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull tracing comment fixes from Steven Rostedt:

- Some bots have informed me that some of the ftrace functions
kernel-doc has formatting issues.

- Also, fix my snake instinct.

* tag 'trace-v5.15-rc6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
tracing: Fix misspelling of "missing"
ftrace: Fix kernel-doc formatting issues

+11 -9
+10 -8
kernel/trace/ftrace.c
··· 2208 2208 } 2209 2209 2210 2210 /** 2211 - * ftrace_update_record, set a record that now is tracing or not 2211 + * ftrace_update_record - set a record that now is tracing or not 2212 2212 * @rec: the record to update 2213 2213 * @enable: set to true if the record is tracing, false to force disable 2214 2214 * ··· 2221 2221 } 2222 2222 2223 2223 /** 2224 - * ftrace_test_record, check if the record has been enabled or not 2224 + * ftrace_test_record - check if the record has been enabled or not 2225 2225 * @rec: the record to test 2226 2226 * @enable: set to true to check if enabled, false if it is disabled 2227 2227 * ··· 2574 2574 }; 2575 2575 2576 2576 /** 2577 - * ftrace_rec_iter_start, start up iterating over traced functions 2577 + * ftrace_rec_iter_start - start up iterating over traced functions 2578 2578 * 2579 2579 * Returns an iterator handle that is used to iterate over all 2580 2580 * the records that represent address locations where functions ··· 2605 2605 } 2606 2606 2607 2607 /** 2608 - * ftrace_rec_iter_next, get the next record to process. 2608 + * ftrace_rec_iter_next - get the next record to process. 2609 2609 * @iter: The handle to the iterator. 2610 2610 * 2611 2611 * Returns the next iterator after the given iterator @iter. ··· 2630 2630 } 2631 2631 2632 2632 /** 2633 - * ftrace_rec_iter_record, get the record at the iterator location 2633 + * ftrace_rec_iter_record - get the record at the iterator location 2634 2634 * @iter: The current iterator location 2635 2635 * 2636 2636 * Returns the record that the current @iter is at. ··· 2733 2733 } 2734 2734 2735 2735 /** 2736 - * ftrace_run_stop_machine, go back to the stop machine method 2736 + * ftrace_run_stop_machine - go back to the stop machine method 2737 2737 * @command: The command to tell ftrace what to do 2738 2738 * 2739 2739 * If an arch needs to fall back to the stop machine method, the ··· 2745 2745 } 2746 2746 2747 2747 /** 2748 - * arch_ftrace_update_code, modify the code to trace or not trace 2748 + * arch_ftrace_update_code - modify the code to trace or not trace 2749 2749 * @command: The command that needs to be done 2750 2750 * 2751 2751 * Archs can override this function if it does not need to ··· 7525 7525 } 7526 7526 7527 7527 /** 7528 - * Test if ftrace is dead or not. 7528 + * ftrace_is_dead - Test if ftrace is dead or not. 7529 + * 7530 + * Returns 1 if ftrace is "dead", zero otherwise. 7529 7531 */ 7530 7532 int ftrace_is_dead(void) 7531 7533 {
+1 -1
kernel/trace/trace_eprobe.c
··· 904 904 905 905 if (IS_ERR(ep)) { 906 906 ret = PTR_ERR(ep); 907 - /* This must return -ENOMEM or misssing event, else there is a bug */ 907 + /* This must return -ENOMEM or missing event, else there is a bug */ 908 908 WARN_ON_ONCE(ret != -ENOMEM && ret != -ENODEV); 909 909 ep = NULL; 910 910 goto error;