diff options
| author | Faiyaz Mohammed <[email protected]> | 2021-06-28 19:34:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-06-29 10:53:47 -0700 |
| commit | 64dd68497be76ab4e237cca06f5324e220d0f050 (patch) | |
| tree | 0fdae33947a31f0e26039ef8015aa271ddcc979c /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 792702911f581f7793962fbeb99d5c3a1b28f4c3 (diff) | |
mm: slub: move sysfs slab alloc/free interfaces to debugfs
alloc_calls and free_calls implementation in sysfs have two issues, one is
PAGE_SIZE limitation of sysfs and other is it does not adhere to "one
value per file" rule.
To overcome this issues, move the alloc_calls and free_calls
implementation to debugfs.
Debugfs cache will be created if SLAB_STORE_USER flag is set.
Rename the alloc_calls/free_calls to alloc_traces/free_traces, to be
inline with what it does.
[[email protected]: fix the leak of alloc/free traces debugfs interface]
Link: https://lkml.kernel.org/r/[email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Faiyaz Mohammed <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Cc: Christoph Lameter <[email protected]>
Cc: Pekka Enberg <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions