def get_content_values_by_name(content, name):
    """
    :type content: dict
    :param content: A dictionary as returned by KairosDB with timestamps converted to seconds since the epoch

    :type name: str
    :param name: The name of the entry in the results whose values will be returned

    :rtype: list
    :return: a list of resulting [timestamp, value] pairs

    When you've got content, but only want to look at a piece of it,
    specifically the values that are provided for a particular name, then use
    this function.

    return the dict(s) whose name matches the argument "name"

    """
    r_list = list()
    for q in content["queries"]:
        for r in q["results"]:
            if r["name"] == name:
                r_list.append(r)
    return r_list