Home
last modified time | relevance | path

Searched refs:sql (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/perf/Documentation/
Ddb-export.txt29 3. Scripts that use a database (e.g. exported-sql-viewer.py) can maintain
31 before using them. e.g. function IsSelectable() in exported-sql-viewer.py
Dperf-intel-pt.txt186 and to script exported-sql-viewer.py for an example of using the database.
/linux-6.1.9/tools/perf/scripts/python/
Dexport-to-postgresql.py750 sql = "COPY " + table_name + " FROM '" + file.name + "' (FORMAT 'binary')"
751 do_query(query, sql)
760 sql = "COPY " + table_name + " FROM STDIN (FORMAT 'binary')"
761 res = PQexec(conn, toclientstr(sql))
Dexported-sql-viewer.py2538 …def __init__(self, dbref, sql, buffer, head, tail, fetch_count, fetching_done, process_target, wai… argument
2542 self.sql = sql
2553 self.query_limit = 0 if "$$last_id$$" in sql else 2
2565 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2656 def __init__(self, glb, sql, prep, process_data, parent=None): argument
2675 …self.process = Process(target=SQLFetcherFn, args=(glb.dbref, sql, self.buffer, self.head, self.tai…
3109 sql = ("SELECT samples.id, time, cpu, comm, pid, tid, branch_types.name,"
3130 self.fetcher = SQLFetcher(glb, sql, prep, self.AddSample)
3660 def IsSelectable(db, table, sql = "", columns = "*"): argument
3663 QueryExec(query, "SELECT " + columns + " FROM " + table + " " + sql + " LIMIT 1")
[all …]