Home
last modified time | relevance | path

Searched refs:debugfs (Results 1 – 25 of 664) sorted by relevance

12345678910>>...27

/linux/Documentation/translations/zh_CN/filesystems/
A Ddebugfs.rst5 :Original: Documentation/filesystems/debugfs.rst
26 从理论上讲,debugfs导出文件的时候没有任何约束。但是[1]实际情况并不总是那么
27 简单。即使是debugfs接口,也最好根据需要进行设计,并尽量保持接口不变。
38 使用debugfs的代码应包含<linux/debugfs.h>。然后,首先是创建至少一个目录来保存
39 一组debugfs文件::
49debugfs目录中创建文件的最通用方法是::
110 布尔值可以通过以下方式放置在debugfs中::
119 同样,atomic_t类型的值也可以放置在debugfs中::
167 如果要在debugfs中转储u32数组,可以使用以下函数创建文件::
202 所有debugfs用户必须考虑的一件事是:
[all …]
/linux/Documentation/translations/zh_TW/filesystems/
A Ddebugfs.rst5 :Original: :doc:`../../../filesystems/debugfs`
28 從理論上講,debugfs導出文件的時候沒有任何約束。但是[1]實際情況並不總是那麼
29 簡單。即使是debugfs接口,也最好根據需要進行設計,並儘量保持接口不變。
40 使用debugfs的代碼應包含<linux/debugfs.h>。然後,首先是創建至少一個目錄來保存
41 一組debugfs文件::
51debugfs目錄中創建文件的最通用方法是::
112 布爾值可以通過以下方式放置在debugfs中::
121 同樣,atomic_t類型的值也可以放置在debugfs中::
169 如果要在debugfs中轉儲u32數組,可以使用以下函數創建文件::
204 所有debugfs用戶必須考慮的一件事是:
[all …]
/linux/drivers/memory/tegra/
A Dtegra186-emc.c31 } debugfs; member
106 *rate = emc->debugfs.min_rate; in tegra186_emc_debug_min_rate_get()
123 emc->debugfs.min_rate = rate; in tegra186_emc_debug_min_rate_set()
136 *rate = emc->debugfs.max_rate; in tegra186_emc_debug_max_rate_get()
153 emc->debugfs.max_rate = rate; in tegra186_emc_debug_max_rate_set()
206 emc->debugfs.min_rate = ULONG_MAX; in tegra186_emc_probe()
207 emc->debugfs.max_rate = 0; in tegra186_emc_probe()
225 emc->debugfs.min_rate = emc->dvfs[i].rate; in tegra186_emc_probe()
228 emc->debugfs.max_rate = emc->dvfs[i].rate; in tegra186_emc_probe()
235 emc->debugfs.max_rate); in tegra186_emc_probe()
[all …]
A Dtegra20-emc.c213 } debugfs; member
863 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
880 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
893 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
910 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
925 emc->debugfs.min_rate = ULONG_MAX; in tegra_emc_debugfs_init()
926 emc->debugfs.max_rate = 0; in tegra_emc_debugfs_init()
930 emc->debugfs.min_rate = emc->timings[i].rate; in tegra_emc_debugfs_init()
938 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra_emc_debugfs_init()
942 emc->debugfs.max_rate); in tegra_emc_debugfs_init()
[all …]
A Dtegra124-emc.c502 } debugfs; member
1185 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1202 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
1215 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
1232 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
1246 emc->debugfs.min_rate = ULONG_MAX; in emc_debugfs_init()
1247 emc->debugfs.max_rate = 0; in emc_debugfs_init()
1251 emc->debugfs.min_rate = emc->timings[i].rate; in emc_debugfs_init()
1259 emc->debugfs.max_rate = emc->debugfs.min_rate; in emc_debugfs_init()
1263 emc->debugfs.max_rate); in emc_debugfs_init()
[all …]
A Dtegra210-emc-core.c620 if (!emc->debugfs.temperature) in tegra210_emc_poll_refresh()
1643 *rate = emc->debugfs.min_rate; in tegra210_emc_debug_min_rate_get()
1660 emc->debugfs.min_rate = rate; in tegra210_emc_debug_min_rate_set()
1673 *rate = emc->debugfs.max_rate; in tegra210_emc_debug_max_rate_get()
1690 emc->debugfs.max_rate = rate; in tegra210_emc_debug_max_rate_set()
1704 if (!emc->debugfs.temperature) in tegra210_emc_debug_temperature_get()
1707 value = emc->debugfs.temperature; in tegra210_emc_debug_temperature_get()
1737 emc->debugfs.max_rate = 0; in tegra210_emc_debugfs_init()
1749 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra210_emc_debugfs_init()
1753 emc->debugfs.max_rate); in tegra210_emc_debugfs_init()
[all …]
/linux/net/bluetooth/
A Dhci_debugfs.c313 debugfs_create_file("features", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
315 debugfs_create_u16("manufacturer", 0444, hdev->debugfs, in hci_debugfs_create_common()
319 debugfs_create_u8("hardware_error", 0444, hdev->debugfs, in hci_debugfs_create_common()
344 debugfs_create_file("sc_only_mode", 0444, hdev->debugfs, in hci_debugfs_create_common()
348 debugfs_create_file("hardware_info", 0444, hdev->debugfs, in hci_debugfs_create_common()
653 debugfs_create_file("idle_timeout", 0644, hdev->debugfs, in hci_debugfs_create_bredr()
1195 hdev->debugfs, hdev, in hci_debugfs_create_le()
1236 hdev->debugfs, hdev, in hci_debugfs_create_le()
1239 hdev->debugfs, hdev, in hci_debugfs_create_le()
1248 if (IS_ERR_OR_NULL(hdev->debugfs)) in hci_debugfs_create_conn()
[all …]
/linux/net/mac80211/
A Ddebugfs_key.c333 if (!key->local->debugfs.keys) in ieee80211_debugfs_key_add()
337 key->debugfs.cnt = keycount; in ieee80211_debugfs_key_add()
340 key->local->debugfs.keys); in ieee80211_debugfs_key_add()
346 key->debugfs.stalink = in ieee80211_debugfs_key_add()
370 key->debugfs.dir = NULL; in ieee80211_debugfs_key_remove()
390 sdata->debugfs.default_unicast_key = in ieee80211_debugfs_key_update_default()
402 sdata->debugfs.default_multicast_key = in ieee80211_debugfs_key_update_default()
420 sdata->debugfs.default_mgmt_key = in ieee80211_debugfs_key_add_mgmt_default()
449 sdata->debugfs.default_beacon_key = in ieee80211_debugfs_key_add_beacon_default()
470 debugfs_remove(key->debugfs.stalink); in ieee80211_debugfs_key_sta_del()
[all …]
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_debugfs.c76 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_get()
80 if (!debugfs) in nouveau_debugfs_pstate_get()
147 struct nvif_object *ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_set()
152 if (!debugfs) in nouveau_debugfs_pstate_set()
260 drm->debugfs = kzalloc(sizeof(*drm->debugfs), GFP_KERNEL); in nouveau_debugfs_init()
261 if (!drm->debugfs) in nouveau_debugfs_init()
266 &drm->debugfs->ctrl); in nouveau_debugfs_init()
276 if (drm->debugfs && drm->debugfs->ctrl.priv) in nouveau_debugfs_fini()
277 nvif_object_dtor(&drm->debugfs->ctrl); in nouveau_debugfs_fini()
279 kfree(drm->debugfs); in nouveau_debugfs_fini()
[all …]
/linux/arch/sh/mm/
A DMakefile24 debugfs-y := asids-debugfs.o
26 debugfs-$(CONFIG_CPU_SH4) += cache-debugfs.o
30 debugfs-$(CONFIG_CPU_SH4) += tlb-debugfs.o
37 obj-$(CONFIG_DEBUG_FS) += $(debugfs-y)
/linux/Documentation/filesystems/
A Ddebugfs.rst13 debugfs has no rules at all. Developers can put any information they want
14 there. The debugfs filesystem is also intended to not serve as a stable
22 mount -t debugfs none /sys/kernel/debug
25 The debugfs root directory is accessible only to the root user by
29 Note that the debugfs API is exported GPL-only to modules.
31 Code using debugfs should include <linux/debugfs.h>. Then, the first order
33 debugfs files::
39 created in the debugfs root. On success, the return value is a struct
59 ERR_PTR(-ERROR) on error, or ERR_PTR(-ENODEV) if debugfs support is
121 Boolean values can be placed in debugfs with::
[all …]
/linux/fs/debugfs/
A D.built-in.a.cmd1debugfs/built-in.a := echo >/dev/null; rm -f fs/debugfs/built-in.a; /usr/bin/ccache /home/test/wor…
/linux/Documentation/admin-guide/
A Ddynamic-debug-howto.rst39 * Provides a debugfs control file: ``<debugfs>/dynamic_debug/control``
54 <debugfs>/dynamic_debug/control
59 <debugfs>/dynamic_debug/control
105 <debugfs>/dynamic_debug/control
107 <debugfs>/dynamic_debug/control
109 <debugfs>/dynamic_debug/control
325 <debugfs>/dynamic_debug/control
329 <debugfs>/dynamic_debug/control
333 <debugfs>/dynamic_debug/control
337 <debugfs>/dynamic_debug/control
[all …]
/linux/Documentation/fault-injection/
A Dprovoke-crashes.rst12 support via debugfs.
16 inserting the module, or through the debugfs interface.
36 These are numerous, and best queried directly from debugfs. Some
46 You can also induce failures by mounting debugfs and writing the type to
47 <debugfs>/provoke-crash/<crashpoint>. E.g.::
49 mount -t debugfs debugfs /sys/kernel/debug
/linux/Documentation/admin-guide/mm/damon/
A Dusage.rst15 - *debugfs interface.*
33 the reason, this document describes only the debugfs interface
35 debugfs Interface
39 ``schemes`` and ``monitor_on`` under its debugfs directory,
40 ``<debugfs>/damon/``.
53 # cd <debugfs>/damon
71 # cd <debugfs>/damon
81 # cd <debugfs>/damon
116 # cd <debugfs>/damon
166 # cd <debugfs>/damon
[all …]
/linux/drivers/net/wireless/ti/wl1251/
A Ddebugfs.c46 debugfs_remove(wl->debugfs.name); \
47 wl->debugfs.name = NULL; \
73 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics)
431 DEBUGFS_ADD(tx_queue_len, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
432 DEBUGFS_ADD(tx_queue_status, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
433 DEBUGFS_ADD(retry_count, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
454 wl->debugfs.rootdir); in wl1251_debugfs_init()
470 debugfs_remove(wl->debugfs.fw_statistics); in wl1251_debugfs_exit()
471 wl->debugfs.fw_statistics = NULL; in wl1251_debugfs_exit()
473 debugfs_remove(wl->debugfs.rootdir); in wl1251_debugfs_exit()
[all …]
/linux/drivers/misc/cxl/
A Ddebugfs.c67 adapter->debugfs = dir; in cxl_debugfs_adapter_add()
77 debugfs_remove_recursive(adapter->debugfs); in cxl_debugfs_adapter_remove()
101 if (!afu->adapter->debugfs) in cxl_debugfs_afu_add()
105 dir = debugfs_create_dir(buf, afu->adapter->debugfs); in cxl_debugfs_afu_add()
106 afu->debugfs = dir; in cxl_debugfs_afu_add()
120 debugfs_remove_recursive(afu->debugfs); in cxl_debugfs_afu_remove()
/linux/drivers/hwspinlock/
A Dsun6i_hwspinlock.c33 struct dentry *debugfs; member
51 priv->debugfs = debugfs_create_dir(DRIVER_NAME, NULL); in sun6i_hwspinlock_debugfs_init()
52 debugfs_create_file("supported", 0444, priv->debugfs, priv, &hwlocks_supported_fops); in sun6i_hwspinlock_debugfs_init()
86 debugfs_remove_recursive(priv->debugfs); in sun6i_hwspinlock_disable()
171 if (IS_ERR(priv->debugfs)) in sun6i_hwspinlock_probe()
172 priv->debugfs = NULL; in sun6i_hwspinlock_probe()
/linux/drivers/gpu/drm/i915/gvt/
A Ddebugfs.c163 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
165 debugfs_create_bool("active", 0444, vgpu->debugfs, &vgpu->active); in intel_gvt_debugfs_add_vgpu()
166 debugfs_create_file("mmio_diff", 0444, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
168 debugfs_create_file("scan_nonprivbb", 0644, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
178 debugfs_remove_recursive(vgpu->debugfs); in intel_gvt_debugfs_remove_vgpu()
179 vgpu->debugfs = NULL; in intel_gvt_debugfs_remove_vgpu()
/linux/drivers/dma/dw-edma/
A Ddw-edma-v0-debugfs.c274 regs_dir = debugfs_create_dir(REGISTERS_STR, dw->debugfs); in dw_edma_debugfs_regs()
295 dw->debugfs = debugfs_create_dir(dw->name, NULL); in dw_edma_v0_debugfs_on()
296 if (!dw->debugfs) in dw_edma_v0_debugfs_on()
299 debugfs_create_u32("mf", 0444, dw->debugfs, &dw->mf); in dw_edma_v0_debugfs_on()
300 debugfs_create_u16("wr_ch_cnt", 0444, dw->debugfs, &dw->wr_ch_cnt); in dw_edma_v0_debugfs_on()
301 debugfs_create_u16("rd_ch_cnt", 0444, dw->debugfs, &dw->rd_ch_cnt); in dw_edma_v0_debugfs_on()
312 debugfs_remove_recursive(dw->debugfs); in dw_edma_v0_debugfs_off()
313 dw->debugfs = NULL; in dw_edma_v0_debugfs_off()
/linux/Documentation/admin-guide/mm/
A Dcma_debugfs.rst5 The CMA debugfs interface is useful to retrieve basic information out of the
8 Each CMA zone represents a directory under <debugfs>/cma/, indexed by the
11 <debugfs>/cma/cma-0
21 echo 5 > <debugfs>/cma/cma-2/alloc
/linux/drivers/soundwire/
A Ddebugfs.c23 bus->debugfs = debugfs_create_dir(name, sdw_debugfs_root); in sdw_bus_debugfs_init()
28 debugfs_remove_recursive(bus->debugfs); in sdw_bus_debugfs_exit()
127 master = slave->bus->debugfs; in sdw_slave_debugfs_init()
135 slave->debugfs = d; in sdw_slave_debugfs_init()
140 debugfs_remove_recursive(slave->debugfs); in sdw_slave_debugfs_exit()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
A DKconfig16 appropriate flags in <debugfs>/dynamic_debug/control.
22 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
30 Collect DSS IRQ statistics, printable via debugfs.
33 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
34 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/linux/net/sunrpc/
A Ddebugfs.c127 if (IS_ERR_OR_NULL(xprt->debugfs)) in do_xprt_debugfs()
130 xprt->debugfs->d_name.name); in do_xprt_debugfs()
233 xprt->debugfs = debugfs_create_dir(name, rpc_xprt_dir); in rpc_xprt_debugfs_register()
236 debugfs_create_file("info", S_IFREG | 0400, xprt->debugfs, xprt, in rpc_xprt_debugfs_register()
243 debugfs_remove_recursive(xprt->debugfs); in rpc_xprt_debugfs_unregister()
244 xprt->debugfs = NULL; in rpc_xprt_debugfs_unregister()
/linux/Documentation/translations/zh_CN/dev-tools/
A Dgcov.rst10 运行时的代码覆盖率数据会以gcov兼容的格式导出到“gcov”debugfs目录中,可
48 代码运行覆盖率数据只在debugfs挂载完成后才可以访问::
50 mount -t debugfs none /sys/kernel/debug
82 gcov功能需要在debugfs中创建如下文件:
104 模块卸载后这些备份数据在debugfs中会继续存在。
105 一旦这个模块重新加载,模块关联的运行统计会被初始化成debugfs中备份的数据。

Completed in 80 milliseconds

12345678910>>...27