lkml.org 
[lkml]   [2014]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 14/18] perf tools: Add perf_config_u64 function
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


\
 
 \ /
  Last update: 2014-06-28 02:01    [W:0.211 / U:2.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site