diff options
author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2017-09-22 14:58:17 -0500 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-10-04 13:05:08 -0400 |
commit | a15f7fc20389a8827d5859907568b201234d4b79 (patch) | |
tree | 18e55b957c6eaf554397b8a8d4033bdfd0c87c20 /kernel/irq/migration.c | |
parent | 1a149d7d3f45d311da1f63473736c05f30ae8a75 (diff) | |
download | op-kernel-dev-a15f7fc20389a8827d5859907568b201234d4b79.zip op-kernel-dev-a15f7fc20389a8827d5859907568b201234d4b79.tar.gz |
tracing: Exclude 'generic fields' from histograms
There are a small number of 'generic fields' (comm/COMM/cpu/CPU) that
are found by trace_find_event_field() but are only meant for
filtering. Specifically, they unlike normal fields, they have a size
of 0 and thus wreak havoc when used as a histogram key.
Exclude these (return -EINVAL) when used as histogram keys.
Link: http://lkml.kernel.org/r/956154cbc3e8a4f0633d619b886c97f0f0edf7b4.1506105045.git.tom.zanussi@linux.intel.com
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/irq/migration.c')
0 files changed, 0 insertions, 0 deletions