| /linux/Documentation/trace/ |
| H A D | kprobes.rst | 2 Kernel Probes (Kprobes) 11 1. Concepts: Kprobes, and Return Probes 25 Concepts: Kprobes and Return Probes 36 There are currently two types of probes: kprobes, and kretprobes 37 (also called return probes). A kprobe can be inserted on virtually 43 one or more probes, and the exit function unregisters them. A 48 There are also ``register_/unregister_*probes()`` functions for batch 49 registration/unregistration of a group of ``*probes``. These functions 51 a lot of probes at once. 54 probes work and how jump optimization works. They explain certain [all …]
|
| /linux/sound/soc/sof/ |
| H A D | Makefile | 31 snd-sof-probes-y := sof-client-probes.o 33 snd-sof-probes-y += sof-client-probes-ipc3.o 36 snd-sof-probes-y += sof-client-probes-ipc4.o 55 obj-$(CONFIG_SND_SOC_SOF_DEBUG_PROBES) += snd-sof-probes.o
|
| H A D | sof-client-probes-ipc3.c | 15 #include "sof-client-probes.h" 90 * are no probes connected and with all injectors detached. 154 * @desc: Returned list of active probes in ipc3_probes_points_info() 155 * @num_desc: Returned count of active probes in ipc3_probes_points_info() 174 * ipc3_probes_points_add - connect specified probes 208 * ipc3_probes_points_remove - disconnect specified probes in ipc3_probes_points_remove() 213 * Removes previously connected probes from list of active probe in ipc3_probes_points_remove()
|
| H A D | sof-client-probes-ipc4.c | 14 #include "sof-client-probes.h" 172 * are no probes connected and with all injectors detached. 198 * @desc: Returned list of active probes in ipc4_probes_points_add() 199 * @num_desc: Returned count of active probes in ipc4_probes_points_add() 303 * ipc4_probes_points_add - connect specified probes 357 * ipc4_probes_points_remove - disconnect specified probes
|
| H A D | sof-client-probes.c | 22 #include "sof-client-probes.h" 37 MODULE_PARM_DESC(enable, "Enable SOF probes support"); in sof_probes_compr_startup() 411 .name = "sof-probes-component", in sof_probes_client_probe() 435 /* do not set up the probes support if it is not enabled */ in sof_probes_client_probe() 474 /* register probes component driver and dai */ in sof_probes_client_probe() 479 dev_err(dev, "failed to register SOF probes DAI driver %d\n", ret); in sof_probes_client_probe() 522 card->name = "sof-probes"; 536 dev_err(dev, "Probes card register failed %d\n", ret); 564 { .name = "snd_sof.hda-probes", }, 565 { .name = "snd_sof.acp-probes", }, [all...] |
| /linux/tools/perf/tests/shell/base_probe/ |
| H A D | test_adding_kernel.sh | 2 # perf_probe :: Add probes, list and remove them (exclusive) 12 # This test tests adding of probes, their correct listing 60 # any added probes should appear in perf-list output 76 # '-l' should list all the added probes as well 133 # removed probes should NOT appear in perf-list output 166 ### force-adding probes 177 print_results $PERF_EXIT_CODE $CHECK_EXIT_CODE "force-adding probes :: first probe adding" 189 print_results $PERF_EXIT_CODE $CHECK_EXIT_CODE "force-adding probes :: second probe adding (without… 202 print_results $PERF_EXIT_CODE $CHECK_EXIT_CODE "force-adding probes :: second probe adding (with fo… 227 ### removing multiple probes [all …]
|
| H A D | test_adding_blacklisted.sh | 2 # perf_probe :: Reject blacklisted probes (exclusive) 12 # Blacklisted functions should not be added successfully as probes, 32 # remove all previously added probes 99 # blacklisted probes should NOT appear in perf-list output
|
| /linux/Documentation/core-api/ |
| H A D | tracepoint.rst | 12 throughout the kernel. 'Probes' register/unregister with tracepoints via 13 a callback mechanism. The 'probes' are strictly typed functions that are 16 From this simple callback mechanism, 'probes' can be used to profile, 18 provide a framework for using 'probes'. These tools include Systemtap, 30 unregistering probes with these callback sites is covered in the
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-probe.txt | 76 When this is used with --cache, perf shows all cached probes instead of 77 the live probes. 125 (With --add) Cache the probes. Any events which successfully added 127 (With --list) Show cached probes. 128 (With --del) Remove cached probes. 130 --max-probes=NUM:: 173 … omitted, it will be set the name of the probed function, and for return probes, a "\_\_return" su… 176 …lative-line number from function entry line, and '%return' means that it probes function return. A… 179 …which is defined by user SDT (Statically Defined Tracing) or the pre-cached probes with event name. 257 Add one or more probes which has the name start with "schedule". [all …]
|
| /linux/tools/testing/ktest/examples/bootconfigs/ |
| H A D | tracing.bconf | 14 probes = "vfs_read $arg2 $arg3"; 17 probes = "vfs_write $arg2 +0($arg2):ustring $arg3"; 20 probes = "initrd_load";
|
| H A D | functiongraph.bconf | 6 probes = "pci_proc_init" 10 probes = "pci_proc_init%return"
|
| /linux/drivers/base/ |
| H A D | map.c | 28 } *probes[255]; member 58 struct probe **s = &domain->probes[index % 255]; in kobj_map() 81 for (s = &domain->probes[index % 255]; *s; s = &(*s)->next) { in kobj_unmap() 103 for (p = domain->probes[MAJOR(dev) % 255]; p; p = p->next) { in kobj_lookup() 151 p->probes[i] = base; in kobj_map_init()
|
| /linux/Documentation/devicetree/bindings/devfreq/event/ |
| H A D | samsung,exynos-nocp.yaml | 16 that the Network on Chip (NoC) probes detects are transported over the 17 network infrastructure to observer units. You can configure probes to capture 19 traffic debug or statistic collectors. Exynos542x bus has multiple NoC probes
|
| /linux/kernel/ |
| H A D | tracepoint.c | 83 * It is used to delay the free of multiple probes array until a quiescent 88 struct tracepoint_func probes[]; member 99 struct tp_probes *p = kmalloc(struct_size(p, probes, count), in allocate_probes() 101 return p == NULL ? NULL : p->probes; in allocate_probes() 113 struct tp_probes, probes[0]); in release_probes() 139 int nr_probes = 0; /* Counter for probes */ in func_add() 148 /* (N -> N+1), (N != 0, 1) probes */ in func_add() 167 /* Insert before probes of lower priority */ in func_add() 198 /* (N -> M), (N > 1, M >= 0) probes */ in func_remove() 585 * Ensure the tracer unregistered the module's probes before the module
|
| /linux/arch/powerpc/include/asm/ |
| H A D | uprobes.h | 5 * User-space Probes (UProbes) for powerpc 13 #include <asm/probes.h>
|
| /linux/sound/soc/sof/amd/ |
| H A D | acp-probes.c | 17 #include "../sof-client-probes.h" 135 return sof_client_dev_register(sdev, "acp-probes", 0, &acp_probes_ops, in acp_probes_register() 142 sof_client_dev_unregister(sdev, "acp-probes", 0); in acp_probes_unregister()
|
| /linux/arch/s390/lib/ |
| H A D | Makefile | 9 lib-$(CONFIG_KPROBES) += probes.o 10 lib-$(CONFIG_UPROBES) += probes.o
|
| /linux/sound/soc/sof/intel/ |
| H A D | hda-probes.c | 18 #include "../sof-client-probes.h" 139 return sof_client_dev_register(sdev, "hda-probes", 0, &hda_probes_ops, in hda_probes_register() 146 sof_client_dev_unregister(sdev, "hda-probes", 0); in hda_probes_unregister()
|
| /linux/arch/arm/probes/ |
| H A D | decode.h | 3 * arch/arm/probes/decode.h 16 #include <asm/probes.h> 148 * The probes instruction handler is set to the value found by 154 * The probes instruction handler is set to the value found by 157 * modified instruction (see below) is placed in the probes instruction
|
| /linux/Documentation/dev-tools/ |
| H A D | gpio-sloppy-logic-analyzer.rst | 19 connected to these GPIO lines with wires (i.e. digital probes), acting as a 43 Tell the kernel which GPIOs are used as probes. For a Device Tree based system, 54 maximum of 8 probes are supported. 32 are likely possible but are not
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | usdt.c | 24 unsigned short test_usdt0_semaphore SEC(".probes"); 25 unsigned short test_usdt3_semaphore SEC(".probes"); 26 unsigned short test_usdt12_semaphore SEC(".probes"); 67 unsigned short test_usdt_sib_semaphore SEC(".probes"); in subtest_basic_usdt() 250 unsigned short test_usdt_100_semaphore SEC(".probes"); in subtest_multispec_usdt() 251 unsigned short test_usdt_300_semaphore SEC(".probes"); in subtest_multispec_usdt() 252 unsigned short test_usdt_400_semaphore SEC(".probes"); in subtest_multispec_usdt()
|
| /linux/drivers/bcma/ |
| H A D | driver_chipcommon_nflash.c | 25 static const char *probes[] = { "bcm47xxpart", NULL }; variable 51 cc->nflash.brcmnand_info.part_probe_types = probes; in bcma_nflash_init()
|
| /linux/arch/s390/include/asm/ |
| H A D | kprobes.h | 5 * Kernel Probes (KProbes) 10 * Probes initial implementation ( includes suggestions from
|
| /linux/drivers/mtd/nand/raw/bcm47xxnflash/ |
| H A D | main.c | 20 static const char *probes[] = { "bcm47xxpart", NULL }; variable 51 err = mtd_device_parse_register(mtd, probes, NULL, NULL, 0); in bcm47xxnflash_probe()
|
| /linux/drivers/mtd/maps/ |
| H A D | solutionengine.c | 34 static const char * const probes[] = { "RedBoot", "cmdlinepart", NULL }; variable 73 mtd_device_parse_register(flash_mtd, probes, NULL, NULL, 0); in init_soleng_maps()
|