]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - kernel/trace/trace.c
tracing: Add hist trigger support for multiple values ('vals=' param)
[thirdparty/linux.git] / kernel / trace / trace.c
index 6cf8fd03b028e99d64514f814aa177b6c5742359..bb62f54c5480b5b2b34154c3af7cbd50ae5639e8 100644 (file)
@@ -3834,14 +3834,16 @@ static const char readme_msg[] =
 #ifdef CONFIG_HIST_TRIGGERS
        "      hist trigger\t- If set, event hits are aggregated into a hash table\n"
        "\t    Format: hist:keys=<field1>\n"
+       "\t            [:values=<field1[,field2,...]>]\n"
        "\t            [:size=#entries]\n"
        "\t            [if <filter>]\n\n"
        "\t    When a matching event is hit, an entry is added to a hash\n"
-       "\t    table using the key named, and the value of a sum called\n"
-       "\t    'hitcount' is incremented.  Keys correspond to fields in the\n"
-       "\t    event's format description.  Keys can be any field.  The\n"
-       "\t    'size' parameter can be  used to specify more or fewer than\n"
-       "\t    the default 2048 entries for the hashtable size.\n\n"
+       "\t    table using the key(s) and value(s) named, and the value of a\n"
+       "\t    sum called 'hitcount' is incremented.  Keys and values\n"
+       "\t    correspond to fields in the event's format description.  Keys\n"
+       "\t    can be any field.  Values must correspond to numeric fields.\n"
+       "\t    The 'size' parameter can be  used to specify more or fewer\n"
+       "\t    than the default 2048 entries for the hashtable size.\n\n"
        "\t    Reading the 'hist' file for the event will dump the hash\n"
        "\t    table in its entirety to stdout."
 #endif