Commit b371910
perf kmem: Support legacy tracepoints
Commit 11e9734 ("mm/slab_common: unify NUMA and UMA version of
tracepoints") removed tracepoints 'kmalloc_node' and
'kmem_cache_alloc_node', we need to consider the tool should be backward
compatible.
If it detect the tracepoint "kmem:kmalloc_node", this patch enables the
legacy tracepoints, otherwise, it will ignore them.
Fixes: 11e9734 ("mm/slab_common: unify NUMA and UMA version of tracepoints")
Reported-by: Ravi Bangoria <[email protected]>
Reviewed-by: James Clark <[email protected]>
Signed-off-by: Leo Yan <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Hyeonggon Yoo <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>1 parent d891f2b commit b371910
1 file changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1824 | 1824 | | |
1825 | 1825 | | |
1826 | 1826 | | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
1827 | 1840 | | |
1828 | 1841 | | |
1829 | 1842 | | |
1830 | 1843 | | |
1831 | 1844 | | |
1832 | 1845 | | |
1833 | 1846 | | |
1834 | | - | |
1835 | 1847 | | |
1836 | 1848 | | |
1837 | | - | |
1838 | 1849 | | |
1839 | 1850 | | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
1840 | 1855 | | |
1841 | 1856 | | |
1842 | 1857 | | |
1843 | 1858 | | |
1844 | 1859 | | |
1845 | 1860 | | |
| 1861 | + | |
1846 | 1862 | | |
1847 | 1863 | | |
1848 | | - | |
| 1864 | + | |
1849 | 1865 | | |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
1850 | 1869 | | |
1851 | 1870 | | |
1852 | 1871 | | |
| |||
1861 | 1880 | | |
1862 | 1881 | | |
1863 | 1882 | | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
1864 | 1887 | | |
1865 | 1888 | | |
1866 | 1889 | | |
| |||
0 commit comments