aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stackdepot.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-24stackdepot: respect __GFP_NOLOCKDEP allocation flagAndrey Ryabinin1-2/+2
2024-04-05stackdepot: rename pool_index to pool_index_plus_1Peter Collingbourne1-2/+2
2024-03-04lib/stackdepot: off by one in depot_fetch_stack()Dan Carpenter1-1/+1
2024-02-23mm,page_owner: maintain own list of stack_records structsOscar Salvador1-0/+8
2024-02-23lib/stackdepot: move stack_record struct definition into the headerOscar Salvador1-43/+0
2024-02-23lib/stackdepot: fix first entry having a 0-handleOscar Salvador1-7/+9
2024-02-23stackdepot: use variable size records for non-evictable entriesMarco Elver1-123/+127
2024-01-25stackdepot: make fast paths lock-less againMarco Elver1-111/+211
2024-01-25stackdepot: add stats counters exported via debugfsMarco Elver1-0/+53
2023-12-29lib/stackdepot: add printk_deferred_enter/exit guardsAndrey Konovalov1-0/+9
2023-12-10lib/stackdepot: adjust DEPOT_POOLS_CAP for KMSANAndrey Konovalov1-0/+10
2023-12-10lib/stackdepot: allow users to evict stack tracesAndrey Konovalov1-1/+36
2023-12-10lib/stackdepot: add refcount for recordsAndrey Konovalov1-2/+10
2023-12-10lib/stackdepot, kasan: add flags to __stack_depot_save and renameAndrey Konovalov1-5/+11
2023-12-10lib/stackdepot: use list_head for stack record linksAndrey Konovalov1-37/+50
2023-12-10lib/stackdepot: use read/write lockAndrey Konovalov1-41/+46
2023-12-10lib/stackdepot: store free stack records in a freelistAndrey Konovalov1-49/+82
2023-12-10lib/stackdepot: store next pool pointer in new_poolAndrey Konovalov1-1/+5
2023-12-10lib/stackdepot: rename next_pool_required to new_pool_requiredAndrey Konovalov1-25/+24
2023-12-10lib/stackdepot: rework helpers for depot_alloc_stackAndrey Konovalov1-37/+49
2023-12-10lib/stackdepot: fix and clean-up atomic annotationsAndrey Konovalov1-15/+14
2023-12-10lib/stackdepot: use fixed-sized slots for stack recordsAndrey Konovalov1-4/+9
2023-12-10lib/stackdepot: add depot_fetch_stack helperAndrey Konovalov1-17/+28
2023-12-10lib/stackdepot: drop valid bit from handlesAndrey Konovalov1-5/+2
2023-12-10lib/stackdepot: simplify __stack_depot_saveAndrey Konovalov1-5/+4
2023-12-10lib/stackdepot: check disabled flag when fetchingAndrey Konovalov1-1/+1
2023-12-10lib/stackdepot: print disabled message only if truly disabledAndrey Konovalov1-9/+15
2023-03-28lib/stackdepot: kmsan: mark API outputs as initializedAlexander Potapenko1-0/+12
2023-02-16lib/stackdepot: move documentation comments to stackdepot.hAndrey Konovalov1-87/+0
2023-02-16lib/stackdepot: various comments clean-upsAndrey Konovalov1-61/+59
2023-02-16lib/stackdepot: annotate racy pool_index accessesAndrey Konovalov1-4/+13
2023-02-16lib/stacktrace, kasan, kmsan: rework extra_bits interfaceAndrey Konovalov1-9/+33
2023-02-16lib/stackdepot: rename next_pool_inited to next_pool_requiredAndrey Konovalov1-9/+21
2023-02-16lib/stackdepot: annotate depot_init_pool and depot_alloc_stackAndrey Konovalov1-10/+24
2023-02-16lib/stacktrace: drop impossible WARN_ON for depot_init_poolAndrey Konovalov1-7/+5
2023-02-16lib/stackdepot: rename init_stack_poolAndrey Konovalov1-5/+5
2023-02-16lib/stackdepot: rename handle and pool constantsAndrey Konovalov1-29/+27
2023-02-16lib/stackdepot: rename slab to poolAndrey Konovalov1-53/+53
2023-02-16lib/stackdepot: rename hash table constants and variablesAndrey Konovalov1-21/+21
2023-02-16lib/stackdepot: reorder and annotate global variablesAndrey Konovalov1-10/+17
2023-02-16lib/stackdepot: lower the indentation in stack_depot_initAndrey Konovalov1-33/+37
2023-02-16lib/stackdepot: annotate init and early init functionsAndrey Konovalov1-6/+21
2023-02-16lib/stackdepot: rename stack_depot_disableAndrey Konovalov1-10/+10
2023-02-16lib/stackdepot, mm: rename stack_depot_want_early_initAndrey Konovalov1-5/+5
2023-02-16lib/stackdepot: use pr_fmt to define message formatAndrey Konovalov1-4/+6
2023-02-16lib/stackdepot: put functions in logical orderAndrey Konovalov1-157/+157
2022-10-03stackdepot: reserve 5 extra bits in depot_stack_handle_tAlexander Potapenko1-5/+24
2022-07-17lib/stackdepot: replace CONFIG_STACK_HASH_ORDER with automatic sizingVlastimil Babka1-10/+49
2022-04-06lib/stackdepot: allow requesting early initialization dynamicallyVlastimil Babka1-22/+45
2022-01-22lib/stackdepot: always do filter_irq_stacks() in stack_depot_save()Marco Elver1-0/+13
2022-01-22lib/stackdepot: allow optional init and stack_table allocation by kvmalloc()Vlastimil Babka1-5/+28
2021-11-09lib, stackdepot: add helper to print stack entries into bufferImran Khan1-0/+25
2021-11-09lib, stackdepot: add helper to print stack entriesImran Khan1-0/+18
2021-11-09lib, stackdepot: check stackdepot handle before accessing slabsImran Khan1-0/+3
2021-11-06stacktrace: move filter_irq_stacks() to kernel/stacktrace.cMarco Elver1-24/+0
2021-11-06lib/stackdepot: introduce __stack_depot_save()Marco Elver1-6/+37
2021-11-06lib/stackdepot: remove unused function argumentMarco Elver1-5/+4
2021-07-08lib: fix spelling mistakesZhen Lei1-1/+1
2021-05-06lib: stackdepot: turn depot_lock spinlock to raw_spinlockZqiang1-3/+3
2021-02-26lib: stackdepot: fix ignoring return value warningVijayanand Jitta1-2/+4
2021-02-26lib: stackdepot: add support to disable stack depotVijayanand Jitta1-4/+28
2021-02-26lib: stackdepot: add support to configure STACK_HASH_SIZEYogesh Lal1-2/+1
2020-12-15lib/stackdepot.c: use array_size() helper in jhash2()Gustavo A. R. Silva1-2/+2
2020-12-15lib/stackdepot.c: use flex_array_size() helper in memcpy()Gustavo A. R. Silva1-1/+1
2020-12-15lib/stackdepot.c: replace one-element array with flexible-array memberGustavo A. R. Silva1-3/+2
2020-04-07kasan: stackdepot: move filter_irq_stacks() to stackdepot.cAlexander Potapenko1-0/+24
2020-04-07lib/stackdepot.c: check depot_index before accessing the stack slabAlexander Potapenko1-2/+13
2020-02-21lib/stackdepot.c: fix global out-of-bounds in stack_slabsAlexander Potapenko1-2/+6
2019-08-19lib/stackdepot: Fix outdated commentsMiles Chen1-2/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174Thomas Gleixner1-10/+1
2019-04-29lib/stackdepot: Remove obsolete functionsThomas Gleixner1-20/+0
2019-04-29lib/stackdepot: Provide functions which operate on plain storage arraysThomas Gleixner1-19/+51
2018-02-06lib/stackdepot.c: use a non-instrumented version of memcmp()Alexander Potapenko1-3/+16
2016-11-11lib/stackdepot: export save/fetch stack for driversChris Wilson1-0/+2
2016-10-27lib/stackdepot.c: bump stackdepot capacity from 16MB to 128MBDmitry Vyukov1-1/+1
2016-07-28lib/stackdepot.c: use __GFP_NOWARN for stack allocationsKirill A. Shutemov1-0/+1
2016-05-05lib/stackdepot: avoid to return 0 handleJoonsoo Kim1-1/+5
2016-04-28lib/stackdepot.c: allow the stack trace hash to be zeroAlexander Potapenko1-4/+0
2016-03-25mm, kasan: stackdepot implementation. Enable stackdepot for SLABAlexander Potapenko1-0/+284