diff options
author | Steven Rostedt (VMware) <[email protected]> | 2020-09-24 12:43:46 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2020-09-25 18:01:48 -0400 |
commit | c65fc2276f0f022f5ad4a84658add2b28cff7227 (patch) | |
tree | 76f88294ce5162c3d244aee7c36503e303a7a0ac /tools/perf/scripts/python/export-to-sqlite.py | |
parent | afbe7973173a7ce0a68af8b33e44c967582297be (diff) |
mm/page_ref: Convert the open coded tracepoint enabled to the new helper
As more use cases of checking if a tracepoint is enabled in a header are
coming to fruition, a helper macro, tracepoint_enabled(), has been added to
check if a tracepoint is enabled or not, and can be used with minimal header
requirements (avoid "include hell"). Convert the page_ref logic over to the
new helper macro.
Cc: Joonsoo Kim <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions