summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2009-05-22 14:57:33 -0700
committerJosh Stone <jistone@redhat.com>2009-05-22 14:57:33 -0700
commit29d0edebd429185b88ff9c476eb4fba4396b5f63 (patch)
tree01eddffbba9270c0b467550393c9a937fda14cc9 /tapsets.cxx
parentefd032a83a3e5254988a49ed52cdab85c19ce762 (diff)
downloadsystemtap-steved-29d0edebd429185b88ff9c476eb4fba4396b5f63.tar.gz
systemtap-steved-29d0edebd429185b88ff9c476eb4fba4396b5f63.tar.xz
systemtap-steved-29d0edebd429185b88ff9c476eb4fba4396b5f63.zip
Use embedded-C for empty functions
The functions asmlinkage() and fastcall() are used to help access syscall parameters on i686. All other archs don't need this, but they still define empty functions to shield the callers from arch details. However, stap issues warnings for empty script-level functions. This patch changes them to "%{ /* pure */ %}" so there's no complaint, and they will still get optimized away.
Diffstat (limited to 'tapsets.cxx')
0 files changed, 0 insertions, 0 deletions