Re: [PATCH 14/18] perf tools: Add perf_config_u64 function

From: David Ahern
Date: Fri Jun 27 2014 - 19:08:14 EST


On 6/18/14, 8:58 AM, Jiri Olsa wrote:

@@ -307,6 +322,15 @@ static void die_bad_config(const char *name)
die("bad config value for '%s'", name);
}

+u64 perf_config_u64(const char *name, const char *value)
+{
+ long long ret = 0;
+
+ if (!perf_parse_llong(value, &ret))
+ die_bad_config(name);
+ return (u64) ret;


Thought we were not using the die functions any longer?

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/