perf tools: Add support for weight v7 (modified)
[deliverable/linux.git] / tools / perf / builtin-record.c
index 78a41fdbe56c250ad1857026257f4d7998430712..cdf58ecc04b106a5b783d4f17b69ae1ef7528f4a 100644 (file)
@@ -953,6 +953,8 @@ const struct option record_options[] = {
        OPT_CALLBACK('j', "branch-filter", &record.opts.branch_stack,
                     "branch filter mask", "branch stack filter modes",
                     parse_branch_stack),
+       OPT_BOOLEAN('W', "weight", &record.opts.sample_weight,
+                   "sample by weight (on special events only)"),
        OPT_END()
 };
 
This page took 0.025489 seconds and 5 git commands to generate.