/linux-4.4.14/tools/perf/Documentation/ |
D | examples.txt | 14 kmem:kmalloc [Tracepoint event] 15 kmem:kmem_cache_alloc [Tracepoint event] 16 kmem:kmalloc_node [Tracepoint event] 17 kmem:kmem_cache_alloc_node [Tracepoint event] 18 kmem:kfree [Tracepoint event] 19 kmem:kmem_cache_free [Tracepoint event] 20 kmem:mm_page_free [Tracepoint event] 21 kmem:mm_page_free_batched [Tracepoint event] 22 kmem:mm_page_alloc [Tracepoint event] 23 kmem:mm_page_alloc_zone_locked [Tracepoint event] [all …]
|
D | perf-kmem.txt | 1 perf-kmem(1) 6 perf-kmem - Tool to trace/measure kernel memory properties 11 'perf kmem' {record|stat} [<options>] 15 There are two variants of perf kmem: 17 'perf kmem record <command>' to record the kmem events 20 'perf kmem stat' to report kernel memory statistics. 60 Show live page stat. The perf kmem shows total allocation stat by
|
/linux-4.4.14/lib/ |
D | test_user_copy.c | 39 char *kmem; in test_user_copy_init() local 45 kmem = kmalloc(PAGE_SIZE * 2, GFP_KERNEL); in test_user_copy_init() 46 if (!kmem) in test_user_copy_init() 54 kfree(kmem); in test_user_copy_init() 62 ret |= test(copy_from_user(kmem, usermem, PAGE_SIZE), in test_user_copy_init() 64 ret |= test(copy_to_user(usermem, kmem, PAGE_SIZE), in test_user_copy_init() 72 ret |= test(!copy_from_user(kmem, (char __user *)(kmem + PAGE_SIZE), in test_user_copy_init() 75 ret |= test(!copy_from_user(bad_usermem, (char __user *)kmem, in test_user_copy_init() 78 ret |= test(!copy_to_user((char __user *)kmem, kmem + PAGE_SIZE, in test_user_copy_init() 81 ret |= test(!copy_to_user((char __user *)kmem, bad_usermem, in test_user_copy_init() [all …]
|
/linux-4.4.14/Documentation/trace/ |
D | tracepoint-analysis.txt | 96 -e kmem:mm_page_alloc -e kmem:mm_page_free \ 97 -e kmem:mm_page_free_batched \ 101 9630 kmem:mm_page_alloc 102 2143 kmem:mm_page_free 103 7424 kmem:mm_page_free_batched 122 $ perf stat -e kmem:mm_page_alloc -e kmem:mm_page_free \ 123 -e kmem:mm_page_free_batched ./hackbench 10 128 17803 kmem:mm_page_alloc 129 12398 kmem:mm_page_free 130 4827 kmem:mm_page_free_batched [all …]
|
D | events.txt | 387 # echo 'enable_event:kmem:kmalloc:1' > \ 394 # echo 'disable_event:kmem:kmalloc' > \ 404 # echo '!enable_event:kmem:kmalloc:1' > \ 407 # echo '!disable_event:kmem:kmalloc' > \ 413 kmem:kmalloc and sched:sched_switch, but can't have two kmem:kmalloc 414 versions such as kmem:kmalloc and kmem:kmalloc:1 or 'kmem:kmalloc if 415 bytes_req == 256' and 'kmem:kmalloc if bytes_alloc == 256' (they 416 could be combined into a single filter on kmem:kmalloc though). 427 /sys/kernel/debug/tracing/events/kmem/kmalloc/trigger 433 /sys/kernel/debug/tracing/events/kmem/kmalloc/trigger [all …]
|
D | events-kmem.txt | 1 Subsystem Trace Points: kmem 3 The kmem tracing system captures events related to object and page allocation
|
/linux-4.4.14/tools/perf/scripts/perl/bin/ |
D | check-perf-trace-record | 2 perf record -a -e kmem:kmalloc -e irq:softirq_entry -e kmem:kfree
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx.c | 321 memset(nx_ctx->kmem, 0, nx_ctx->kmem_len); in nx_ctx_init() 683 nx_ctx->kmem = kmalloc(nx_ctx->kmem_len, GFP_KERNEL); in nx_crypto_ctx_init() 684 if (!nx_ctx->kmem) in nx_crypto_ctx_init() 688 nx_ctx->csbcpb = (struct nx_csbcpb *)(round_up((u64)nx_ctx->kmem, in nx_crypto_ctx_init() 763 kzfree(nx_ctx->kmem); in nx_crypto_ctx_exit() 774 kzfree(nx_ctx->kmem); in nx_crypto_ctx_aead_exit()
|
D | nx.h | 129 void *kmem; /* unaligned, kmalloc'd buffer */ member
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 167 typedef int (*cgs_gmap_kmem_t)(void *cgs_device, void *kmem, uint64_t size, 557 #define cgs_gmap_kmem(dev,kmem,size,min_off,max_off,kmem_handle,mcaddr) \ argument 558 CGS_CALL(gmap_kmem,dev,kmem,size,min_off,max_off,kmem_handle,mcaddr)
|
/linux-4.4.14/Documentation/cgroups/ |
D | memory.txt | 81 memory.kmem.limit_in_bytes # set/show hard limit for kernel memory 82 memory.kmem.usage_in_bytes # show current kernel memory allocation 83 memory.kmem.failcnt # show the number of kernel memory usage hits limits 84 memory.kmem.max_usage_in_bytes # show max kernel memory usage recorded 86 memory.kmem.tcp.limit_in_bytes # set/show hard limit for tcp buf memory 87 memory.kmem.tcp.usage_in_bytes # show current tcp buf memory allocation 88 memory.kmem.tcp.failcnt # show the number of tcp buf memory usage hits limits 89 memory.kmem.tcp.max_usage_in_bytes # show max tcp buf memory usage recorded 292 -1 to memory.kmem.limit_in_bytes. In this case, kmem will be accounted, but not 297 memory.kmem.usage_in_bytes, or in a separate counter when it makes sense. [all …]
|
/linux-4.4.14/tools/perf/ |
D | command-list.txt | 14 perf-kmem mainporcelain common
|
D | Build | 16 perf-y += builtin-kmem.o
|
D | perf-completion.sh | 168 if [[ $prev_skip_opts == @(kvm|kmem|mem|lock|sched|
|
/linux-4.4.14/tools/perf/scripts/perl/ |
D | check-perf-trace.pl | 43 sub kmem::kmalloc subroutine
|
/linux-4.4.14/fs/xfs/ |
D | Makefile | 93 kmem.o \
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ethtool.c | 779 u8 *kmem; in bnxt_flash_nvram() local 789 kmem = dma_alloc_coherent(&bp->pdev->dev, data_len, &dma_handle, in bnxt_flash_nvram() 791 if (!kmem) { in bnxt_flash_nvram() 796 memcpy(kmem, data, data_len); in bnxt_flash_nvram() 800 dma_free_coherent(&bp->pdev->dev, data_len, kmem, dma_handle); in bnxt_flash_nvram()
|
/linux-4.4.14/mm/ |
D | memcontrol.c | 1281 K((u64)page_counter_read(&memcg->kmem)), in mem_cgroup_print_oom_info() 1282 K((u64)memcg->kmem.limit), memcg->kmem.failcnt); in mem_cgroup_print_oom_info() 2415 if (!page_counter_try_charge(&memcg->kmem, nr_pages, &counter)) in __memcg_kmem_charge_memcg() 2420 page_counter_uncharge(&memcg->kmem, nr_pages); in __memcg_kmem_charge_memcg() 2450 page_counter_uncharge(&memcg->kmem, nr_pages); in __memcg_kmem_uncharge() 2870 counter = &memcg->kmem; in mem_cgroup_read_u64() 2937 err = page_counter_limit(&memcg->kmem, nr_pages); in memcg_activate_kmem() 2963 ret = page_counter_limit(&memcg->kmem, limit); in memcg_update_kmem_limit() 3050 counter = &memcg->kmem; in mem_cgroup_reset() 3684 WARN_ON(page_counter_read(&memcg->kmem)); in memcg_destroy_kmem() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cgs.c | 76 static int amdgpu_cgs_gmap_kmem(void *cgs_device, void *kmem, in amdgpu_cgs_gmap_kmem() argument 84 struct page *kmem_page = vmalloc_to_page(kmem); in amdgpu_cgs_gmap_kmem()
|
/linux-4.4.14/include/trace/events/ |
D | kmem.h | 2 #define TRACE_SYSTEM kmem
|
/linux-4.4.14/include/linux/ |
D | memcontrol.h | 189 struct page_counter kmem; member
|
/linux-4.4.14/Documentation/DocBook/ |
D | kernel-api.xml.db | 162 API-kmem-cache-alloc 163 API-kmem-cache-alloc-node 164 API-kmem-cache-free
|
/linux-4.4.14/drivers/char/ |
D | Kconfig | 19 bool "/dev/kmem virtual device support" 22 Say Y here if you want to support the /dev/kmem device. The 23 /dev/kmem device is rarely used, but can be used for certain
|
/linux-4.4.14/Documentation/vm/ |
D | numa_memory_policy.txt | 300 the structure back to the mempolicy kmem cache when the reference count
|
/linux-4.4.14/Documentation/scsi/ |
D | st.txt | 581 /boot for the procps I use) or have updated /etc/psdatabase (for kmem
|
/linux-4.4.14/init/ |
D | Kconfig | 1052 the kmem extension can use it to guarantee that no group of processes
|
/linux-4.4.14/ |
D | CREDITS | 3368 D: utility hacker: Emacs, NFS server, mount, kmem-ps, UPS debugger, strace, GDB
|
/linux-4.4.14/Documentation/ |
D | devices.txt | 92 2 = /dev/kmem Kernel virtual memory access
|