]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/bootchart/store.h
treewide: use log_*_errno whenever %m is in the format string
[thirdparty/systemd.git] / src / bootchart / store.h
CommitLineData
6d031c0b
LP
1/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
2
3#pragma once
4
5/***
6 This file is part of systemd.
7
3c527fd1 8 Copyright (C) 2009-2013 Intel Corporation
6d031c0b
LP
9
10 Authors:
11 Auke Kok <auke-jan.h.kok@intel.com>
12
13 systemd is free software; you can redistribute it and/or modify it
14 under the terms of the GNU Lesser General Public License as published by
15 the Free Software Foundation; either version 2.1 of the License, or
16 (at your option) any later version.
17
18 systemd is distributed in the hope that it will be useful, but
19 WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Lesser General Public License for more details.
22
23 You should have received a copy of the GNU Lesser General Public License
24 along with systemd; If not, see <http://www.gnu.org/licenses/>.
25***/
26
27#include <dirent.h>
8dfb6e71 28#include "bootchart.h"
6d031c0b
LP
29
30extern DIR *proc;
31extern int procfd;
32
33double gettime_ns(void);
34void log_uptime(void);
8dfb6e71 35void log_sample(int sample, struct list_sample_data **ptr);