aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAndreas Gruenbacher <[email protected]>2011-07-06 10:57:39 +0200
committerPhilipp Reisner <[email protected]>2014-02-17 16:45:02 +0100
commit3b52beffc57d6f1498a29d4edcb1cc2ad81241ec (patch)
treeb958a13b5fbf72e668fc5386050a80a8f5b22290 /tools/perf/scripts/python/check-perf-trace.py
parentd01801710265cfb7bd8928ae7c3be4d9d15ceeb0 (diff)
drbd: Turn drbd_printk() into a polymorphic macro
This allows drbd_alert(), drbd_err(), drbd_warn(), and drbd_info() to work for a resource, device, or connection so that we don't have to introduce three separate sets of macros for that. The drbd_printk() macro itself is pretty ugly, but that problem is limited to one place in the code. Using drbd_printk() on an object type which it doesn't understand results in an undefined drbd_printk_with_wrong_object_type symbol. Signed-off-by: Andreas Gruenbacher <[email protected]> Signed-off-by: Philipp Reisner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions