Re: [PATCH 07/13] perf kvm: split out tracepoints from record args

From: David Ahern
Date: Sat May 25 2013 - 20:10:20 EST


On 5/10/13 6:39 AM, Jiri Olsa wrote:

+ for (j = 0; j < ARRAY_SIZE(kvm_events_tp); j++) {
+ rec_argv[i++] = "-e";
+ rec_argv[i++] = STRDUP_FAIL_EXIT(kvm_events_tp[j]);
+ }
+

just curious.. I dont understand why it needs to be dynamic?

jirka


passing a new set of args to cmd_record -- what the user passed in augmented with the tracepoints needed for kvm stat.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/