diff options
author | 2017-02-24 15:00:17 -0800 | |
---|---|---|
committer | 2017-02-24 17:46:56 -0800 | |
commit | 4e4a7fb7b4574b4074e4097561c2e34a7333306f (patch) | |
tree | bdb1d6939a8c42d058e2e62a9a4f418e75ccd0f6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | alpha: use generic current.h (diff) | |
download | linux-dev-4e4a7fb7b4574b4074e4097561c2e34a7333306f.tar.xz linux-dev-4e4a7fb7b4574b4074e4097561c2e34a7333306f.zip |
proc: use rb_entry()
To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.
Link: http://lkml.kernel.org/r/4fd1f82818665705ce75c5156a060ae7caa8e0a9.1482160150.git.geliangtang@gmail.com
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Juergen Gross <jgross@suse.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions