Searched refs:profiling (Results 1 - 88 of 88) sorted by relevance

/linux-4.1.27/arch/mn10300/oprofile/
H A DMakefile2 # Makefile for the MN10300-specific profiling code
H A Dop_model_null.c1 /* Null profiling driver
/linux-4.1.27/kernel/gcov/
H A Dgcc_4_7.c2 * This code provides functions to handle gcc's profiling data format
45 * struct gcov_fn_info - profiling meta data per function
70 * struct gcov_info - profiling data per object file
94 * @info: profiling data set
103 * @info: profiling data set
111 * gcov_info_next - return next profiling data set
112 * @info: profiling data set
126 * gcov_info_link - link/add profiling data set to the list
127 * @info: profiling data set
136 * gcov_info_unlink - unlink/remove profiling data set from the list
137 * @prev: previous profiling data set
138 * @info: profiling data set
148 /* Symbolic links to be created for each profiling data file. */
176 * gcov_info_reset - reset profiling data to zero
177 * @info: profiling data set
200 * gcov_info_is_compatible - check if profiling data can be added
201 * @info1: first profiling data set
202 * @info2: second profiling data set
204 * Returns non-zero if profiling data can be added, zero otherwise.
212 * gcov_info_add - add up profiling data
213 * @dest: profiling data set to which data is added
214 * @source: profiling data set which is added
216 * Adds profiling counts of @source to @dest.
245 * gcov_info_dup - duplicate profiling data set
246 * @info: profiling data set to duplicate
316 * gcov_info_free - release memory for profiling data set duplicate
317 * @info: profiling data set duplicate to free
353 * @info: associated profiling data
415 * convert_to_gcda - convert profiling data set to gcda file format
417 * @info: profiling data set to be converted
469 * gcov_iter_new - allocate and initialize profiling data iterator
470 * @info: profiling data set to be iterated
500 * gcov_iter_get_info - return profiling data set for given file iterator
510 * gcov_iter_get_info - return profiling data set for given file iterator
H A Dgcc_3_4.c2 * This code provides functions to handle gcc's profiling data format
29 * struct gcov_fn_info - profiling meta data per function
44 * struct gcov_ctr_info - profiling data per counter type
59 * struct gcov_info - profiling data per object file
85 * @info: profiling data set
94 * @info: profiling data set
102 * gcov_info_next - return next profiling data set
103 * @info: profiling data set
117 * gcov_info_link - link/add profiling data set to the list
118 * @info: profiling data set
127 * gcov_info_unlink - unlink/remove profiling data set from the list
128 * @prev: previous profiling data set
129 * @info: profiling data set
139 /* Symbolic links to be created for each profiling data file. */
168 * gcov_info_reset - reset profiling data to zero
169 * @info: profiling data set
183 * gcov_info_is_compatible - check if profiling data can be added
184 * @info1: first profiling data set
185 * @info2: second profiling data set
187 * Returns non-zero if profiling data can be added, zero otherwise.
195 * gcov_info_add - add up profiling data
196 * @dest: profiling data set to which data is added
197 * @source: profiling data set which is added
199 * Adds profiling counts of @source to @dest.
234 * gcov_info_dup - duplicate profiling data set
235 * @info: profiling data set to duplicate
284 * gcov_info_free - release memory for profiling data set duplicate
285 * @info: profiling data set duplicate to free
326 * @info: associated profiling data
357 * gcov_iter_new - allocate and initialize profiling data iterator
358 * @info: profiling data set to be iterated
385 * gcov_iter_get_info - return profiling data set for given file iterator
H A Dbase.c2 * This code maintains a list of active profiling data structures.
45 * Add new profiling data structure to list and inform event __gcov_init()
56 * These functions may be referenced by gcc-generated profiling code but serve
57 * no function for kernel profiling.
98 * Turn on reporting of profiling data load/unload-events through the
H A Dfs.c2 * This code exports profiling data as debugfs files to userspace.
36 * @loaded_info: array of pointers to profiling data sets for loaded object
38 * @num_loaded: number of profiling data sets for loaded object files.
39 * @unloaded_info: accumulated copy of profiling data sets for unloaded
70 /* If non-zero, keep copies of profiling data for unloaded modules. */
141 * Return a profiling data set associated with the given node. This is
154 * Return a newly allocated profiling data set which contains the sum of
155 * all profiling data associated with the given node.
175 * open() implementation for gcov data files. Create a copy of the profiling
188 * Read from a profiling data copy to minimize reference tracking gcov_seq_open()
190 * profiling data sets associated with one node simple. gcov_seq_open()
253 * Reset all profiling data associated with the specified node.
268 * write() implementation for gcov data files. Reset profiling data for the
529 * write() implementation for reset file. Reset all profiling data to zero
568 * Create a node for a given profiling data set and add it to all lists and
618 * Associate a profiling data set with an existing node. Needs to be called
672 * Return the index of a profiling data set associated with a node.
686 * Save the data of a profiling data set which is being unloaded.
703 * Disassociate a profiling data set from a node. Needs to be called with
732 * Callback to create/remove profiling files when code compiled with
768 * and all profiling files. gcov_fs_init()
774 * Create reset file which resets all profiling counts when written gcov_fs_init()
/linux-4.1.27/drivers/oprofile/
H A Dbuffer_sync.h13 /* add the necessary profiling hooks */
H A Doprof.c54 * profiling overhead, it's necessary to prevent oprofile_setup()
156 /* Actually start profiling (echo 1>/dev/oprofile/enable) */ oprofile_start()
H A Doprofile_perf.c130 * Called by oprofile_perf_stop at the end of a profiling run.
/linux-4.1.27/arch/um/kernel/skas/
H A DMakefile8 # clone.o is in the stub, so it can't be built with profiling
/linux-4.1.27/arch/mn10300/kernel/
H A Dprofile.c13 * initialise the profiling if enabled
24 /* use timer 11 to drive the profiling interrupts */ profile_init()
H A Dprofile-low.S3 # Fast profiling interrupt handler
H A Dsmp.c956 * setup_profiling_timer - Set up the profiling timer
959 * The frequency of the profiling timer can be changed by writing a multiplier
/linux-4.1.27/arch/tile/include/uapi/arch/
H A Dsim.h483 * Turn profiling on for the current task.
486 * profiling support (thus, the proper flags to the simulator must
496 /** Turn profiling off for the current task. */
505 * Turn profiling on or off for the current task.
507 * @param enabled If true, turns on profiling. If false, turns it off.
510 * profiling support (thus, the proper flags to the simulator must
523 * Return true if and only if profiling is currently enabled
527 * if the current execution environment does not support profiling.
537 * Reset profiling counters to zero for the current task.
539 * Resetting can be done while profiling is enabled. It does not affect
540 * the chip-wide profiling counters.
550 * Enable specified chip-level profiling counters.
552 * Does not affect the per-task profiling counters.
572 * Disable specified chip-level profiling counters.
574 * Does not affect the per-task profiling counters.
594 * Reset specified chip-level profiling counters to zero.
596 * Does not affect the per-task profiling counters.
H A Dsim_def.h37 /** If written to SPR_SIM_CONTROL, stops profiling. */
40 /** If written to SPR_SIM_CONTROL, starts profiling. */
43 /** If written to SPR_SIM_CONTROL, clears profiling counters. */
61 /** If written to SPR_SIM_CONTROL, clears chip-level profiling counters. */
64 /** If written to SPR_SIM_CONTROL, disables chip-level profiling. */
67 /** If written to SPR_SIM_CONTROL, enables chip-level profiling. */
484 /** When reading SPR_SIM_CONTROL, the mask for whether profiling is enabled. */
/linux-4.1.27/arch/alpha/oprofile/
H A Dop_model_ev5.c17 /* Compute all of the registers in preparation for enabling profiling.
131 /* Program all of the registers in preparation for enabling profiling. */
148 For EV5, this means disabling profiling, reading the current values,
150 profiling back on.
152 This can be streamlined if profiling is only enabled for user mode.
H A Dop_model_ev6.c17 /* Compute all of the registers in preparation for enabling profiling. */
62 /* Program all of the registers in preparation for enabling profiling. */
H A Dop_model_ev4.c17 /* Compute all of the registers in preparation for enabling profiling. */
81 /* Program all of the registers in preparation for enabling profiling. */
H A Dop_model_ev67.c18 /* Compute all of the registers in preparation for enabling profiling. */
67 /* Program all of the registers in preparation for enabling profiling. */
/linux-4.1.27/arch/powerpc/oprofile/
H A Dcommon.c135 /* create a file the user tool can check to see what level of profiling op_powerpc_create_files()
138 * bit 0 - Supports SPU event profiling in addition to PPU op_powerpc_create_files()
139 * event and cycles; and SPU cycle profiling op_powerpc_create_files()
143 * cycle profiling, PPU event and cycle profiling. op_powerpc_create_files()
148 * user SPU event profiling. Older kernels op_powerpc_create_files()
151 * profiling on older kernels. Older kernels op_powerpc_create_files()
H A Dop_model_cell.c76 * This variable is used for SPU profiling and should ONLY be set
145 * The CELL profiling code makes rtas calls to setup the debug bus to
146 * route the performance signals. Additionally, SPU profiling requires
180 static int spu_rtas_token; /* token for SPU cycle profiling */
572 * and stop SPU profiling. Get the token once and store it. cell_reg_setup_spu_cycles()
585 /* Unfortunately, the hardware will only support event profiling
587 * the profiling across all SPUs in the node. Note, we do this
741 * note, only one SPU profiling event is supported cell_reg_setup_spu_events()
849 * doing spu event profiling. cell_reg_setup()
882 /* for SPU event profiling, need to setup the cell_reg_setup()
885 * one SPU event for profiling can be specified cell_reg_setup()
907 /* Cycle based SPU profiling does not use the performance cell_cpu_setup()
941 /* For SPU event profiling also need to setup the cell_cpu_setup()
1138 * Failure to disable the SPU profiling is not an issue. The FW calls
1258 /* The SPU profiling uses time-based profiling based on cell_global_start_spu_cycles()
1282 * Setup SPU cycle-based profiling. for_each_online_cpu()
1313 /* start profiling */ for_each_online_cpu()
1347 /* spu event profiling, uses the performance counters to generate cell_global_start_spu_events()
1366 * Setup SPU event-based profiling. for_each_online_cpu()
1461 * SPU event profiling works as follows:
1688 * driver. When profiling PPUs, we need to do the
H A Dop_model_pa6t.c102 * setup user and kernel profiling pa6t_reg_setup()
H A Dop_model_power4.c131 /* setup user and kernel profiling */ power4_reg_setup()
/linux-4.1.27/kernel/
H A Dprofile.c3 * Simple profiling. Manages a direct-mapped profile hit count buffer,
5 * which profiling is done, and switching between cpu time and
8 * Scheduler profiling support, Arjan van de Ven and Ingo Molnar,
10 * Consolidation of architecture support code for profiling,
67 pr_info("kernel sleep profiling enabled (shift: %ld)\n", profile_setup()
70 pr_warn("kernel sleep profiling requires CONFIG_SCHEDSTATS\n"); profile_setup()
78 pr_info("kernel schedule profiling enabled (shift: %ld)\n", profile_setup()
86 pr_info("kernel KVM profiling enabled (shift: %ld)\n", profile_setup()
91 pr_info("kernel profiling enabled (shift: %ld)\n", profile_setup()
467 * This function accesses profiling information. The returned data is
503 * Writing a 'profiling multiplier' value into it also re-sets the profiling
H A Dksysfs.c90 KERNEL_ATTR_RW(profiling); variable
/linux-4.1.27/arch/sparc/include/asm/
H A Dpil.h15 * Finally, in order to handle profiling events even when a
/linux-4.1.27/tools/perf/util/
H A Dsetup.py42 description='Interface with the Linux profiling infrastructure',
H A Devsel.c2143 " 2 - Disallow kernel profiling for unpriv", perf_evsel__open_strerror()
/linux-4.1.27/arch/tile/include/asm/
H A Dstack.h30 int profile; /* profiling, so stop on async intrpt */
32 * do this for profiling) */
/linux-4.1.27/arch/powerpc/oprofile/cell/
H A Dspu_profiler.c26 /* spu_prof_running is a flag used to indicate if spu profiling is enabled
196 * Entry point for SPU cycle profiling.
197 * NOTE: SPU profiling is done system-wide, not per-CPU.
227 * Entry point for SPU event profiling.
228 * NOTE: SPU profiling is done system-wide, not per-CPU.
H A Dpr_util.h93 * Entry point for SPU profiling.
102 /* add the necessary profiling hooks */
H A Dspu_task_sync.c132 /* only reschedule if profiling is not done */ wq_sync_spu_buff()
505 * NOTE: When profiling SPUs, we must ensure that only
/linux-4.1.27/arch/tile/kernel/vdso/
H A DMakefile19 # vDSO code runs in userspace and -pg doesn't help with profiling anyway.
37 # Disable gcov profiling for VDSO code
/linux-4.1.27/arch/x86/um/vdso/
H A Dum_vdso.c12 /* Disable profiling for userspace code */
H A DMakefile47 # vDSO code runs in userspace and -pg doesn't help with profiling anyway.
/linux-4.1.27/arch/s390/kernel/vdso32/
H A DMakefile25 # Disable gcov profiling for VDSO code
/linux-4.1.27/arch/s390/kernel/vdso64/
H A DMakefile25 # Disable gcov profiling for VDSO code
/linux-4.1.27/net/tipc/
H A Dlink.h94 u32 accu_queue_sz; /* used for send queue size profiling */
95 u32 queue_sz_counts; /* used for send queue size profiling */
96 u32 msg_length_counts; /* used for message length profiling */
97 u32 msg_lengths_total; /* used for message length profiling */
98 u32 msg_length_profile[7]; /* used for msg. length profiling */
H A Dlink.c166 /* update counters used in statistical profiling of send traffic */ link_timeout()
/linux-4.1.27/arch/m32r/kernel/
H A Dsmp.c635 * Description: Local timer interrupt handler. It does both profiling and
637 * We do profiling in every local tick, statistics/rescheduling
638 * happen only every 'profiling multiplier' ticks. The default
661 * The profiling function is SMP safe. (nothing can mess smp_local_timer_interrupt()
662 * around with "current", and the profiling counters are smp_local_timer_interrupt()
664 * useful with a profiling multiplier != 1 smp_local_timer_interrupt()
H A Dsmpboot.c570 * the frequency of the profiling timer can be changed
/linux-4.1.27/include/uapi/linux/
H A Dkfd_ioctl.h93 * All counters are monotonic. They are used for profiling of compute jobs.
94 * The profiling is done by userspace.
H A Dsysctl.h91 KERN_PROF=6, /* table: profiling information */
H A Dperf_event.h99 * physical and sw events of the kernel (and allow the profiling of them as
/linux-4.1.27/arch/mips/oprofile/
H A Dop_model_loongson3.c61 /* Compute all of the registers in preparation for enabling profiling. */ loongson3_reg_setup()
102 /* Program all of the registers in preparation for enabling profiling. */ loongson3_cpu_setup()
H A Dop_model_mipsxx.c148 /* Compute all of the registers in preparation for enabling profiling. */
177 /* Program all of the registers in preparation for enabling profiling. */
/linux-4.1.27/arch/sparc/lib/
H A Dmcount.S4 * This file implements mcount(), which is used to collect profiling data.
/linux-4.1.27/include/linux/
H A Dprofile.h60 * Speedup for the common (no profiling enabled) case: profile_hit()
H A Dcompiler-gcc.h132 # error "GCOV profiling support for gcc versions below 3.4 not included"
/linux-4.1.27/arch/arm/vdso/
H A DMakefile29 # Disable gcov profiling for VDSO code
/linux-4.1.27/arch/cris/arch-v10/lib/
H A Dold_checksum.c26 /* these are just for profiling the checksum code with an oscillioscope.. uh */
/linux-4.1.27/arch/powerpc/include/asm/
H A Doprofile_impl.h36 /* Register for oprofile user tool to check cell kernel profiling
/linux-4.1.27/arch/m68k/coldfire/
H A Dtimers.c159 * Use the other timer to provide high accuracy profiling info.
/linux-4.1.27/drivers/s390/block/
H A Ddasd_proc.c290 /* switch on statistics profiling */ dasd_stats_proc_write()
306 /* switch off statistics profiling */ dasd_stats_proc_write()
H A Ddasd.c686 * Add profiling information for cqr before execution.
741 * Add profiling information for cqr after execution.
/linux-4.1.27/arch/um/os-Linux/
H A Dmain.c159 * off the profiling time, but UML dies with a SIGPROF just before main()
160 * exiting when profiling is active. main()
H A Dsignal.c52 * profiling is not thread-safe, then that is not my problem. We can disable
53 * profiling when SMP is enabled in that case.
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_perf.c18 /* For profiling, userspace can:
22 * This will enable performance counters/profiling to track the busy time
/linux-4.1.27/arch/sparc/kernel/
H A Dnmi.c29 * up using profiling counter overflow interrupts and interrupt
H A Dtime_64.c73 /* Set things up so user can access tick register for profiling tick_disable_protection()
/linux-4.1.27/arch/mips/sgi-ip27/
H A Dip27-irq.c154 panic("CPU %d got a profiling interrupt", smp_processor_id()); ip27_prof_timer()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Ddasd.h258 /* reset profiling information of a device */
274 /* retrieve profiling information of a device */
/linux-4.1.27/arch/parisc/include/asm/
H A Dprocessor.h106 unsigned long prof_counter; /* per CPU profiling support */
107 unsigned long prof_multiplier; /* per CPU profiling support */
/linux-4.1.27/arch/parisc/kernel/
H A Dprocessor.c71 * init_cpu_profiler - enable/setup per cpu profiling hooks.
300 * o Enable CPU profiling hooks.
/linux-4.1.27/kernel/events/
H A Dhw_breakpoint.c212 /* Pinned counter cpu profiling */ toggle_bp_slot()
218 /* Pinned counter task profiling */ toggle_bp_slot()
H A Dcore.c174 * 2 - disallow kernel profiling for unpriv
/linux-4.1.27/arch/x86/vdso/
H A DMakefile77 # vDSO code runs in userspace and -pg doesn't help with profiling anyway.
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dtime.c168 cris_do_profile(regs); /* Save profiling information */ timer_interrupt()
/linux-4.1.27/kernel/trace/
H A Dtrace_event_perf.c2 * trace event based perf event profiling/tracing
H A Dftrace.c2 * Infrastructure for profiling code inserted by 'gcc -pg'.
760 * We are profiling all functions, but usually only a few thousand ftrace_profile_init_cpu()
770 /* Preallocate the function profiling pages */ ftrace_profile_init_cpu()
5539 * register_ftrace_function - register a function for profiling
5540 * @ops - ops structure that holds the function for profiling.
5566 * unregister_ftrace_function - unregister a function for profiling.
5569 * Unregister a function that was added to be called by ftrace profiling.
H A Dtrace_kprobe.c885 /* Probes profiling interfaces */ probes_profile_seq_show()
H A Dtrace_uprobe.c648 /* Probes profiling interfaces */ probes_profile_seq_show()
/linux-4.1.27/arch/ia64/kernel/
H A Dsmpboot.c348 * Ideally sets up per-cpu profiling hooks. Doesn't do much now...
540 * Initialize the per-CPU profiling counter/multiplier smp_prepare_cpus()
/linux-4.1.27/scripts/
H A Drecordmcount.pl14 # them into nops. When tracing or profiling is later enabled, these locations
318 # instruction to jump over the profiling function to filter the
/linux-4.1.27/arch/mips/sibyte/bcm1480/
H A Dirq.c310 * done in bcm1480_time_init(). Also, the profiling driver arch_init_irq()
/linux-4.1.27/arch/mips/sibyte/sb1250/
H A Dirq.c280 * done in sb1250_time_init(). Also, the profiling driver arch_init_irq()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dtargaddrs.h224 /* Enable CPU profiling */
/linux-4.1.27/arch/mips/sibyte/common/
H A Dsb_tbprof.c169 * a previous interrupt request. This means that bus profiling arm_tb()
/linux-4.1.27/arch/alpha/kernel/
H A Dsmp.c90 * Ideally sets up per-cpu profiling hooks. Doesn't do much now...
/linux-4.1.27/arch/sh/kernel/
H A Dsignal_64.c441 The glibc profiling support for SH-5 needs to be passed a sigcontext setup_frame()
/linux-4.1.27/arch/s390/kernel/
H A Dsmp.c928 * the frequency of the profiling timer can be changed
/linux-4.1.27/kernel/rcu/
H A Dupdate.c502 * preambles and profiling hooks. The synchronize_rcu_tasks() function
/linux-4.1.27/tools/perf/
H A Dbuiltin-top.c1096 "dump the symbol table used for profiling"), cmd_top()
H A Dbuiltin-sched.c1109 * Only need to worry about migration when profiling one CPU. latency_migrate_task_event()
/linux-4.1.27/arch/metag/include/asm/
H A Dmetag_regs.h283 ; Lastly, to support profiling assembler code should use a fixed entry/exit
/linux-4.1.27/drivers/net/ethernet/tile/
H A Dtilegx.c1924 * practice, profiling of GSO shows that skb_segment() is what causes
/linux-4.1.27/drivers/s390/net/
H A Dnetiucv.c172 * Per connection profiling data
/linux-4.1.27/drivers/scsi/
H A Dncr53c8xx.c1716 ** Debugging and profiling.

Completed in 2840 milliseconds