summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-06-11 15:51:56 -0700
committerGreg Hackmann <ghackmann@google.com>2017-10-09 14:00:13 -0700
commitf2ea3999ecf1108b3ae0dcc14eab420701e4cf0a (patch)
tree7fa9903e0c1dc90079f605084989fdf528976bd4 /tools/perf/scripts/python
parent79ec10f9925af458c1cb5dfe31cbb12a7f841d1c (diff)
UPSTREAM: compiler, clang: properly override 'inline' for clang
Commit abb2ea7dfd82 ("compiler, clang: suppress warning for unused static inline functions") just caused more warnings due to re-defining the 'inline' macro. So undef it before re-defining it, and also add the 'notrace' attribute like the gcc version that this is overriding does. Maybe this makes clang happier. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit 6d53cefb18e4646fb4bf62ccb6098fb3808486df) Signed-off-by: Greg Hackmann <ghackmann@google.com> Change-Id: Ie01b45583954c6104c854a3810e35c1171764e78
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions