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

From: Jiri Olsa
Date: Sun Jun 29 2014 - 12:44:42 EST


On Fri, Jun 27, 2014 at 05:08:03PM -0600, David Ahern wrote:
> 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?

seem like patchset removing that for config object
will prepare separate change

jirka
--
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/