summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2021-02-08 15:09:23 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-02-09 12:16:27 -0500
commit1746fd4416ed5510fe9fdd6a93e49a436187b680 (patch)
treecb66a9706159b803ff6136eaea796998ac277803 /tools/perf/scripts/python/exported-sql-viewer.py
parent2d396cb3b12641adcde91104a7c89994f2e876a6 (diff)
tracepoints: Remove unnecessary "data_args" macro parameter
While working on a clean up that would restructure the difference between architectures that have static calls vs those that do not, I was stumbling over the "data_args" parameter that includes "__data" in the arguments. The issue was that one version didn't even need it, while the other one did. Instead of injecting a "__data = NULL;" into the macro for the unneeded version, just remove it completely. The original idea behind data_args is that there may be a case of a tracepoint with no arguments. But this is considered bad practice, and all tracepoints should pass something to that location (that's what tracepoints were created for). Link: https://lkml.kernel.org/r/20210208201050.768074128@goodmis.org Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions