aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
AgeCommit message (Expand)AuthorFilesLines
6 daystracing: Allow user-space mapping of the ring-bufferVincent Donnefort1-0/+1
2024-03-18tracing: Add snapshot refcountVincent Donnefort1-2/+6
2024-03-17tracing: Move saved_cmdline code into trace_sched_switch.cSteven Rostedt (Google)1-0/+10
2023-12-20ring-buffer: Page size per ring bufferTzvetomir Stoyanov (VMware)1-0/+1
2023-12-18tracing: Allow creating instances with specified system eventsSteven Rostedt (Google)1-0/+1
2023-12-13tracing: Fix uaf issue when open the hist or hist_debug fileZheng Yejian1-0/+1
2023-11-01tracing: Have trace_event_file have ref countersSteven Rostedt (Google)1-0/+3
2023-10-04eventfs: Remove eventfs_file and just use eventfs_inodeSteven Rostedt (Google)1-2/+2
2023-10-03tracing: Expand all ring buffers individuallyZheng Yejian1-2/+7
2023-09-07tracing: Increase trace array ref count on enable and filter filesSteven Rostedt (Google)1-0/+2
2023-09-01Merge tag 'trace-v6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-3/+11
2023-08-22tracing: Remove unused function declarationsYue Haibing1-2/+0
2023-08-21tracing: Introduce pipe_cpumask to avoid race on trace_pipesZheng Yejian1-0/+2
2023-08-16tracing/synthetic: Use union instead of castsSven Schnelle1-0/+8
2023-07-31eventfs: Move tracing/events to eventfsAjay Kaher1-1/+1
2023-07-30tracing: Add back FORTIFY_SOURCE logic to kernel_stack event structureSteven Rostedt (Google)1-0/+10
2023-07-16Merge tag 'probes-fixes-v6.5-rc1-2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+2
2023-07-14Revert "tracing: Add "(fault)" name injection to kernel probes"Masami Hiramatsu (Google)1-0/+2
2023-06-30Merge tag 'probes-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds1-0/+11
2023-06-20function_graph: Support recording and printing the return value of functionDonglin Peng1-0/+2
2023-06-06tracing/probes: Add fprobe events for tracing function entry and exit.Masami Hiramatsu (Google)1-0/+11
2023-03-29tracing: Add "fields" option to show raw trace event fieldsSteven Rostedt (Google)1-0/+2
2023-02-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mat...Linus Torvalds1-1/+1
2023-02-23Merge tag 'trace-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-0/+6
2023-02-14alpha: replace NR_SYSCALLS by NR_syscallsYang Yang1-1/+1
2023-02-12tracing: Fix TASK_COMM_LEN in trace event format fileYafang Shao1-0/+1
2023-02-07tracing: Add enabling of events to boot instancesSteven Rostedt (Google)1-0/+2
2023-01-25tracing: Allow synthetic events to pass around stacktracesSteven Rostedt (Google)1-0/+4
2023-01-24tracing: Make sure trace_printk() can output as soon as it can be usedSteven Rostedt (Google)1-0/+1
2022-12-10tracing: Fix some checker warningsDavid Howells1-1/+1
2022-12-09tracing: Fix complicated dependency of CONFIG_TRACER_MAX_TRACEMasami Hiramatsu (Google)1-5/+3
2022-12-09tracing/probes: Handle system names with hyphensSteven Rostedt (Google)1-3/+16
2022-11-23tracing: Make tracepoint_print_iter staticXiu Jianfeng1-2/+0
2022-11-23tracing: Add tracing_reset_all_online_cpus_unlocked() functionSteven Rostedt (Google)1-0/+1
2022-09-26tracing: Move struct filter_pred into trace_events_filter.cSteven Rostedt (Google)1-13/+0
2022-07-30rv: Add Runtime Verification (RV) interfaceDaniel Bristot de Oliveira1-0/+9
2022-04-26tracing: Have existing event_command.parse() implementations use helpersTom Zanussi1-1/+2
2022-04-26tracing: Remove redundant trigger_ops paramsTom Zanussi1-10/+4
2022-04-26tracing: Remove logic for registering multiple event triggers at a timeTom Zanussi1-4/+5
2022-03-23Merge tag 'trace-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-1/+1
2022-02-25eprobes: Remove redundant event type informationSteven Rostedt (Google)1-1/+0
2022-02-10tracing: Remove size restriction on tracing_log_err cmd stringsTom Zanussi1-1/+1
2022-01-10tracing: Add helper functions to simplify event_command.parse() callback hand...Tom Zanussi1-0/+24
2022-01-10tracing: Remove ops param from event_command reg()/unreg() callbacksTom Zanussi1-4/+0
2022-01-10tracing: Change event_trigger_ops func() to trigger()Tom Zanussi1-4/+15
2022-01-10tracing: Change event_command func() to parse()Tom Zanussi1-7/+12
2021-12-11tracing: Use memset_startat helper in trace_iterator_reset()Xiu Jianfeng1-8/+1
2021-12-06tracing: Disable preemption when using the filter bufferSteven Rostedt (VMware)1-1/+3
2021-12-06tracing: Add '__rel_loc' using trace event macrosMasami Hiramatsu1-0/+3
2021-12-06tracing: Support __rel_loc relative dynamic data location attributeMasami Hiramatsu1-0/+1
2021-11-26tracing: Fix pid filtering when triggers are attachedSteven Rostedt (VMware)1-6/+18
2021-10-13tracing: in_irq() cleanupChangbin Du1-1/+1
2021-10-08tracing: Disable "other" permission bits in the tracefs filesSteven Rostedt (VMware)1-0/+3
2021-10-05tracing: Place trace_pid_list logic into abstract functionsSteven Rostedt (VMware)1-4/+10
2021-08-20tracing: Add a probe that attaches to trace eventsTzvetomir Stoyanov (VMware)1-0/+18
2021-08-16tracing: Apply trace filters on all output channelsPingfan Liu1-32/+0
2021-07-03Merge tag 'trace-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-6/+29
2021-06-28once: implement DO_ONCE_LITE for non-fast-path "do once" functionalityTanner Love1-10/+3
2021-06-25trace: Add timerlat tracerDaniel Bristot de Oliveira1-0/+2
2021-06-25trace: Add osnoise tracerDaniel Bristot de Oliveira1-3/+6
2021-06-25tracing: Add LATENCY_FS_NOTIFY to define if latency_fsnotify() is definedSteven Rostedt (VMware)1-3/+3
2021-06-25trace: Add a generic function to read/write u64 values from tracefsDaniel Bristot de Oliveira1-0/+18
2021-04-15tracing: Add method for recording "func_repeats" eventsYordan Karadzhov (VMware)1-0/+4
2021-04-15tracing: Add "last_func_repeats" to struct trace_arrayYordan Karadzhov (VMware)1-0/+12
2021-04-15tracing: Define new ftrace event "func_repeats"Yordan Karadzhov (VMware)1-0/+3
2021-03-23tracing: Fix various typos in commentsIngo Molnar1-2/+2
2021-03-18tracing: Add a verifier to check string pointers for trace eventsSteven Rostedt (VMware)1-0/+3
2021-03-18tracing: Add tracing_event_time_stamp() APISteven Rostedt (VMware)1-0/+1
2021-03-18tracing: Use a no_filter_buffering_ref to stop using the filter bufferSteven Rostedt (VMware)1-2/+2
2021-03-18tracing: Pass buffer of event to trigger operationsSteven Rostedt (VMware)1-2/+2
2021-03-04tracing: Remove duplicate declaration from trace.hYordan Karadzhov (VMware)1-1/+0
2021-02-11tracing: Add ptr-hash option to show the hashed pointer valueMasami Hiramatsu1-0/+1
2021-02-11tracing: Show real address for trace event argumentsMasami Hiramatsu1-0/+2
2021-02-09tracing/dynevent: Delegate parsing to create functionMasami Hiramatsu1-2/+1
2021-02-02tracing: Inline tracing_gen_ctx_flags()Sebastian Andrzej Siewior1-19/+0
2021-02-02tracing: Merge irqflags + preempt counter.Sebastian Andrzej Siewior1-21/+17
2020-12-14tracing: Disable ftrace selftests when any tracer is runningMasami Hiramatsu1-0/+5
2020-11-06ftrace: Move the recursion testing into global headersSteven Rostedt (VMware)1-177/+0
2020-11-02ftrace: Handle tracing when switching between contextSteven Rostedt (VMware)1-2/+21
2020-11-02ftrace: Fix recursion check for NMI testSteven Rostedt (VMware)1-1/+2
2020-10-25treewide: Convert macro and uses of __section(foo) to __section("foo")Joe Perches1-1/+1
2020-10-15tracing: Move is_good_name() from trace_probe.h to trace.hTom Zanussi1-0/+13
2020-10-15tracing: Fix some typos in commentsQiujun Huang1-4/+4
2020-09-25tracing/boot: Initialize per-instance event list in early bootMasami Hiramatsu1-0/+1
2020-09-21tracing: Enable creating new instance early bootMasami Hiramatsu1-0/+7
2020-09-18tracing: make tracing_init_dentry() returns an integer instead of a d_entry p...Wei Yang1-1/+1
2020-08-03ftrace: Fix ftrace_trace_task return valueJosef Bacik1-1/+6
2020-06-30tracing: Move pipe reference to trace array instead of current_tracerSteven Rostedt (VMware)1-1/+1
2020-06-16tracing: Make ftrace packed events have align of 1Steven Rostedt (VMware)1-0/+3
2020-06-01tracing: Add hist_debug trace event files for histogram debuggingTom Zanussi1-0/+1
2020-03-27tracing: Create set_event_notrace_pid to not trace tasksSteven Rostedt (VMware)1-0/+25
2020-03-27ftrace: Create set_ftrace_notrace_pid to not trace tasksSteven Rostedt (VMware)1-0/+2
2020-03-27ftrace: Make function trace pid filtering a bit more exactSteven Rostedt (VMware)1-2/+2
2020-03-27tracing: Do not disable tracing when reading the trace fileSteven Rostedt (VMware)1-0/+1
2020-03-03tracing: Remove unused TRACE_BUFFER bitsSteven Rostedt (VMware)1-6/+1
2020-02-06Merge tag 'trace-v5.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/ros...Linus Torvalds1-24/+74
2020-02-05ftrace: Protect ftrace_graph_hash with ftrace_syncSteven Rostedt (VMware)1-0/+2
2020-02-05ftrace: Add comment to why rcu_dereference_sched() is open codedSteven Rostedt (VMware)1-0/+10
2020-02-05tracing: Annotate ftrace_graph_notrace_hash pointer with __rcuAmol Grover1-2/+6
2020-02-05tracing: Annotate ftrace_graph_hash pointer with __rcuAmol Grover1-3/+6
2020-01-30tracing: Add trace_array_find/_get() to find instance trace arraysTom Zanussi1-0/+2
2020-01-29tracing/boot: Move external function declarations to kernel/trace/trace.hMasami Hiramatsu1-0/+17
2020-01-25tracing: Use pr_err() instead of WARN() for memory failuresSteven Rostedt (VMware)1-0/+12
2020-01-13tracing: Make struct ring_buffer less ambiguousSteven Rostedt (VMware)1-11/+11
2020-01-13tracing: Rename trace_buffer to array_bufferSteven Rostedt (VMware)1-8/+8
2019-12-10Merge tag 'v5.5-rc1' into core/kprobes, to resolve conflictsIngo Molnar1-4/+22
2019-12-02tracing: Introduce trace event injectionCong Wang1-0/+1
2019-11-27ftrace: Rework event_create_dir()Peter Zijlstra1-17/+14
2019-11-22tracing: Adding new functions for kernel access to Ftrace instancesDivya Indi1-1/+0
2019-11-14tracing: Add missing "inline" in stub function of latency_fsnotify()Steven Rostedt (VMware)1-1/+1
2019-11-13tracing: Declare newly exported APIs in include/linux/trace.hDivya Indi1-3/+1
2019-11-13ftrace: Implement fs notification for tracing_max_latencyViktor Rosendahl (BMW)1-0/+18
2019-11-13ftrace: Add information on number of page groups allocatedSteven Rostedt (VMware)1-0/+2
2019-10-12tracing: Add tracing_check_open_get_tr()Steven Rostedt (VMware)1-0/+1
2019-10-12tracing: Have trace events system open call tracing_open_generic_tr()Steven Rostedt (VMware)1-0/+1
2019-09-28tracing: Fix clang -Wint-in-bool-context warnings in IF_ASSIGN macroNathan Chancellor1-5/+5
2019-08-31tracing: Rename tracing_reset() to tracing_reset_cpu()Steven Rostedt (VMware)1-1/+0
2019-05-25tracing: Silence GCC 9 array bounds warningMiguel Ojeda1-0/+18
2019-05-22kernel/trace/trace.h: Remove duplicate header of trace_seq.hJagadeesh Pagadala1-1/+0
2019-05-15Merge tag 'trace-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-1/+12
2019-05-02tracing: Add trace_total_entries() / trace_total_entries_cpu()Douglas Anderson1-0/+3
2019-04-29tracing: Make ftrace_trace_userstack() static and conditionalThomas Gleixner1-8/+0
2019-04-08tracing: Have the error logs show up in the proper instancesSteven Rostedt (VMware)1-1/+4
2019-04-08tracing: Add trace_array parameter to create_event_filter()Steven Rostedt (VMware)1-1/+2
2019-04-02tracing: Add tracing error logTom Zanussi1-0/+4
2019-02-20tracing: Add conditional snapshotTom Zanussi1-1/+55
2019-02-15ftrace: Allow enabling of filters via index of available_filter_functionsSteven Rostedt (VMware)1-0/+1
2019-02-06function_graph: Support displaying relative timestampChangbin Du1-4/+5
2018-12-08tracing: Add tracefs file buffer_percentageSteven Rostedt (VMware)1-0/+1
2018-12-08function_graph: Do not expose the graph_time option when profiler is not conf...Steven Rostedt (VMware)1-0/+5
2018-11-29fgraph: Have set_graph_notrace only affect function_graph tracerSteven Rostedt (VMware)1-0/+7
2018-11-29tracing/fgraph: Fix set_graph_function from showing interruptsSteven Rostedt (VMware)1-3/+54
2018-08-16tracing: Fix SPDX format headers to use C++ style commentsSteven Rostedt (VMware)1-1/+1
2018-08-10tracing: More reverting of "tracing: Centralize preemptirq tracepoints and un...Steven Rostedt (VMware)1-0/+15
2018-08-01tracing: Make tracer_tracing_is_on() return boolSteven Rostedt (VMware)1-1/+1
2018-07-26tracing: Remove orphaned function using_ftrace_ops_list_func().Masami Hiramatsu1-1/+0
2018-07-26tracing: Make unregister_trigger() staticSteven Rostedt (VMware)1-3/+0
2018-07-03tracing: Optimize trace_buffer_iter() logicyuan linyu1-3/+1
2018-05-29tracing: Add trigger file for trace_markers tracefs/ftrace/printSteven Rostedt (VMware)1-0/+1
2018-05-29tracing: Have event_trace_init() called by trace_init_tracefs()Steven Rostedt (VMware)1-0/+1
2018-05-29tracing: Add __find_event_file() to find event files without restrictionsSteven Rostedt (VMware)1-0/+3
2018-05-29tracing: Do not reference event data in post call triggersSteven Rostedt (VMware)1-2/+2
2018-05-28tracing: Make the snapshot trigger work with instancesSteven Rostedt (VMware)1-0/+11
2018-03-14tracing: Rewrite filter logic to be simpler and fasterSteven Rostedt (VMware)1-10/+5
2018-03-10tracing: Make tracing_set_clock() non-staticTom Zanussi1-0/+1
2018-03-10tracing: Add variable reference handling to hist triggersTom Zanussi1-0/+3
2018-03-10tracing: Add usecs modifier for hist trigger timestampsTom Zanussi1-0/+2
2018-03-10tracing: Give event triggers access to ring_buffer_eventTom Zanussi1-4/+5
2018-03-10ring-buffer: Add interface for setting absolute time stampsTom Zanussi1-0/+3
2017-11-17Merge tag 'trace-v4.15' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-2/+7
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-04tracing: Make traceprobe parsing code reusableTom Zanussi1-0/+7
2017-10-04tracing: Remove obsolete sched_switch tracer selftestJoel Fernandes1-2/+0
2017-09-19tracing: Ignore mmiotrace from kernel commandlineZiqian SUN (Zamir)1-0/+2
2017-08-31tracing: Only have rmmod clear buffers that its events were active inSteven Rostedt (VMware)1-0/+1
2017-07-20trace: fix the errors caused by incompatible type of RCU variablesChunyan Zhang1-3/+3
2017-06-27tracing: Add support for recording tgid of tasksJoel Fernandes1-0/+7
2017-06-26ftrace: Have cached module filters be an active filterSteven Rostedt (VMware)1-1/+6
2017-06-26ftrace: Add :mod: caching infrastructure to trace_arraySteven Rostedt (VMware)1-0/+12
2017-06-13trace: rename enum_map functionsJeremy Linton1-2/+2
2017-06-13trace: rename trace_enum_map to trace_eval_mapJeremy Linton1-2/+2
2017-05-17ftrace: Remove #ifdef from code and add clear_ftrace_function_probes() stubSteven Rostedt (VMware)1-0/+4
2017-05-17ftrace/instances: Clear function triggers when removing instancesNaveen N. Rao1-0/+1
2017-05-03Merge tag 'trace-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-1/+76
2017-04-20tracing/ftrace: Allow for the traceonoff probe be unique to instancesSteven Rostedt (VMware)1-0/+2
2017-04-20tracing/ftrace: Add a better way to pass data via the probe functionsSteven Rostedt (VMware)1-4/+4
2017-04-20ftrace: Dynamically create the probe ftrace_ops for the trace_arraySteven Rostedt (VMware)1-3/+2
2017-04-20tracing: Pass the trace_array into ftrace_probe_ops functionsSteven Rostedt (VMware)1-0/+3
2017-04-20tracing: Have the trace_array hold the list of registered func probesSteven Rostedt (VMware)1-3/+10
2017-04-20ftrace: Have the function probes call their own functionSteven Rostedt (VMware)1-0/+1
2017-04-20ftrace: Have each function probe use its own ftrace_opsSteven Rostedt (VMware)1-0/+1
2017-04-20ftrace: Have unregister_ftrace_function_probe_func() return a valueSteven Rostedt (VMware)1-1/+1
2017-04-20ftrace: Remove data field from ftrace_func_probe structureSteven Rostedt (VMware)1-1/+1
2017-04-20ftrace: Remove unused unregister_ftrace_function_probe_all() functionSteven Rostedt (VMware)1-1/+0
2017-04-20ftrace: Remove unused unregister_ftrace_function_probe() functionSteven Rostedt (VMware)1-3/+0
2017-04-20ftrace: Added ftrace_func_mapper for function probe triggersSteven Rostedt (VMware)1-0/+14
2017-04-20ftrace: Pass probe ops to probe functionSteven Rostedt (VMware)1-0/+1
2017-04-20ftrace: Move the function commands into the tracing directorySteven Rostedt (VMware)1-0/+20
2017-04-18ftrace: Move the probe function into the tracing directorySteven Rostedt (VMware)1-0/+25
2017-04-17ftrace: Add 'function-fork' trace optionNamhyung Kim1-1/+5
2017-04-17ftrace: Fix function pid filter on instancesNamhyung Kim1-0/+2
2017-03-24ftrace: Have function tracing start in early boot upSteven Rostedt (VMware)1-0/+2
2017-02-15tracing: Use modern function declarationArnd Bergmann1-1/+1
2017-02-10tracing: Have COMM event filter key be treated as a stringSteven Rostedt (VMware)1-1/+2
2017-01-20ftrace: Convert graph filter to use hash tablesNamhyung Kim1-33/+31
2017-01-20ftrace: Expose ftrace_hash_empty and ftrace_lookup_ipNamhyung Kim1-1/+15
2016-12-25clocksource: Use a plain u64 instead of cycle_tThomas Gleixner1-4/+4
2016-12-09tracing/fgraph: Have wakeup and irqsoff tracers ignore graph functions tooSteven Rostedt (Red Hat)1-0/+11
2016-11-23tracing: Make __buffer_unlock_commit() always_inlineSteven Rostedt (Red Hat)1-2/+2
2016-11-15tracing: Add new trace_marker_rawSteven Rostedt1-0/+2
2016-11-14ftrace: Support full glob matchingMasami Hiramatsu1-0/+2
2016-09-12tracing: Have max_latency be defined for HWLAT_TRACER as wellSteven Rostedt (Red Hat)1-0/+2
2016-09-02tracing: Added hardware latency tracerSteven Rostedt (Red Hat)1-0/+3
2016-07-05ftrace: Reduce size of function graph entriesNamhyung Kim1-0/+11
2016-07-05ftrace: Move toplevel init out of ftrace_init_tracefs()Steven Rostedt (Red Hat)1-0/+3
2016-06-20ftrace: Have set_ftrace_pid use the bitmap like events doSteven Rostedt (Red Hat)1-6/+9
2016-06-20tracing: Move pid_list write processing into its own functionSteven Rostedt (Red Hat)1-0/+7
2016-06-20tracing: Move the pid_list seq_file functions to be globalSteven Rostedt (Red Hat)1-0/+3